Hi,
I have set AllowClose to false and the close button is now disabled. However I would like to hide the close button, can you tell me if I can do this and if so how?
Thanks,
Nick.
You can set the ShowDisabledButtons or ShowCloseButton to False on the dock manager.
Thanks Mike! Getting a bit lost in all these properties...
This will only hide the close image that appears on the pane. The right click context menu item Hide still exits and allows to close the pane. Also, I want to know what if I want to just disable the close button only for a specific pane. Is it possible?
It sounds like a bug that the hidden buttons still appear in the context menu. You can submit this to the support group: http://ko.infragistics.com/gethelp.
To hide the close button for a specific pane, only set ShowDisabledButtons to False and on the pane, set its Settings.AllowClose to False.
nevermind, its working fine.
Can someone confirm that this is a bug? After setting AllowClose to false on a pane the context menu still shows Hide.
Bill