We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Show/Hide tab in docking manager

Thread ID:





109374 Jun 10,2013 12:48 PM UTC Jun 17,2013 07:05 AM UTC WPF 1
Tags: Tools
David Florant
Asked On June 10, 2013 12:48 PM UTC

Hi, How do I show or hide tab in docking manager?

Berkunath A [Syncfusion]
Replied On June 17, 2013 07:05 AM UTC

Hi David,

Thank you for your interests in Syncfusion products.

You can achieve your requirement by using the below code snippet,


 private void Hide_Click(object sender, RoutedEventArgs e)
            foreach (FrameworkElement element in Docking.Children)
                if (DockingManager.GetState(element) == DockState.Document)
                    DockingManager.SetState(element, DockState.Hidden);

        private void Show_Click(object sender, RoutedEventArgs e)
            foreach (FrameworkElement element in Docking.Children)
                if (DockingManager.GetState(element) == DockState.Hidden)
                    DockingManager.SetState(element, DockState.Document);
I have attached the sample as per your requirements in the following link. Please run the sample and let us know if it helps you.

[sample link]


Please let us know if you have any concerns.

Berkunath A



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon