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
35
¿Hide a TabPanel?
posted

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, 

  • 4618
    posted

    Hi David,

    If you have any further questions regarding this behavior, please let me know.

    Sincerely,
    Chris K
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

  • 4618
    Suggested Answer
    posted

    Hi David,

    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.

    If you have any further questions regarding this behavior, please let me know.

    Sincerely,
    Chris K
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

    HideDockedPanelWithTab100672.zip