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.
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.
Thank you for the information. I submitted a feature request.
So, the 'Hide' really is a 'Close' functionality, i.e. discard the view completely. Or am I wrong?
Kind regards,
Yes, they are the same, but closing a pane doesn't discard it completely. It can still be made visible again.