Hi,
I'm trying to hide a panel docked to a dock manager, there's a hide method but it only hides the panel whiting the tab, I would like to hide the whole tab. The Dock Manager only has a HideAll method, and the control panes don't contain any Hide Method. Any Ideas?
Thanks in advance,
Hi David,
If you have any further questions regarding this behavior, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
While there is not an actual method for hiding the tab and its contents, with this control, it is certainly possible to produce this behavior by calling the Close() method for that particular pane instance to hide it and then calling the Show() method of the pane in order to display it once more.
The state of the pane’s contents will be restored when the Show() method is called, but you will need to keep track of the pinned state of the pane as by default, it will take on a pinned state when shown.
I have constructed and attached a commented sample which demonstrates one such approach for achieving this behavior.
Please find the sample attached.