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.
Unfortunately, activation email could not send to your email. Please try again.

How to disable the element which state is Document in DockingManager

By default, child element of DockingManager (which has state as Document) will be added as content of TabItemExt in DocumentTabControl. To disable the document child element of DockingManager, we must retrieve the TabItemExt element from DocumentTabControl and set IsEnabled as false to the retrieved element. For instance, we have disabled all the items in the DocumentTabControl, except SelectedItem. The following code demonstrate the same,

MainWindow.xaml:

 

Code to disable the child element of DockingManager:

 

MainWindow.cs:

 

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/DockingManager_Disabling_TabItem_Sample112600304.zip

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
8657 04/06/2018 04/06/2018 WPF DockingManager 4
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.