Hi,
A right click on the caption of a View/Pane opens a context menu, containing, for example, the items "Hide" "Floating", "Autohide". Is it possiple to deactive this context-menu?
However, the corresponding buttons ("Close", "Autohide" etc..) in the right corner of the caption should stay!
Any help appreciated!
Thanks in advance
Thomas U.
First I realize it would be better to hide the whole menu, but I do not see that option.
I did find that you could do this. Let me know if you find a way to completly hide the menu.
DockableGroupPane dgpTemplate = new DockableGroupPane();
dgpTemplate.ChildPaneStyle = ChildPaneStyle.TabGroup;
dgpTemplate.DefaultPaneSettings.AllowClose = Infragistics.Win.DefaultableBoolean.False;
dgpTemplate.DefaultPaneSettings.AllowFloating = Infragistics.Win.DefaultableBoolean.False;
dgpTemplate.DefaultPaneSettings.AllowPin = Infragistics.Win.DefaultableBoolean.False;
DockableGroupPane dgpProject = dgpTemplate;
dgpProject.Panes.Add(dcpProject);
Hi Joe,
thank you for your reply.
Your code will make the correspondings buttons (in the right corner) dissappear.
They should stay.
Hope there is also a possibility to hide the whole menu and leave the buttons where they are.
Thanks
Thomas