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

How to hide the close button of document window in SfDockingManager?

Platform: UWP |
Control: SfDockingManager |
Published Date: April 30, 2018 |
Last Revised Date: April 30, 2018 |
.NET Framework: 4

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

 

 

 

 

 

 

 

 

 

2X faster development

The ultimate UWP UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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