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 hide the close button of document window in SfDockingManager?

We can change the visibility of close button in document window of SfDockingManager with below list of types. This can be changed by set the CloseButtonType of DocumentTabControlStyle in SfDockingManager.

 

  1. Both
  2. Common
  3. Extended
  4. Individual
  5. Hide
  6. IndividualOnMouseOver

 

Common: It will display the close button on right corner of document tab header panel. It closes the tabs based on the selected item.

 

Code Example: [Xaml]

 

 

 

Screenshot

 

 

Both: It will display the close button on each individual document tab items and common close button for all document window.

 

Code Example: [Xaml]

 

 

 

Screenshot

 

 

 

Hide: It hide the close button of all document tabs.

 

Code Example: [Xaml]

 

 

 

 

 

 

Individual: It will display the close button of all document tabs.

 

Code Example: [Xaml]

 

 

Screenshot

 

 

IndividualOnMouseOver: It will display the close button when mouse hover the document tab.

 

Code Example: [Xaml]

 

 

 

 

Extended: It will display the close button for active document tab and mouse hover document tab.

 

Code Example: [Xaml]

 

 

 

 

 

Sample:  DocumentWindow_CloseButton_Type

 

 

 

 

 

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
8721 04/30/2018 04/30/2018 UWP SfDockingManager 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.