Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Hide / Floating context menu
posted

Hello

When you right click at the title bar of a smartpart/workspace, you get a context menu that has the options "Hide" and "Floating".

How can I override the right click to add my own menu items and remove the above two?

 Many thanks for your help in advance.

 Kostas.

Parents
No Data
Reply
  • 44743
    posted

    I don't believe you can add menu items to this.  You can submit a feature request for this: http://devcenter.infragistics.com/Protected/RequestFeature.aspx.  As for the "Hide" and "Floating" menu items, you can disable them by setting a pane's Settings.AllowClose and Settings.AllowFloating properties to False, respectively. You can also set these settings on the UltraDockManager.DefaultPaneSettings to disable the menu items on all panes.

Children