)
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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set different types of CloseButton for the Tabs in the TabControlExt?

Platform: WPF |
Control: TabControlExt |
Published Date: January 12, 2016 |
Last Revised Date: January 12, 2016 |
.NET Framework: 4.5

In TabControlExt, there are five type to display the CloseButton for the tabitems and CloseButton display can be changed by the property CloseButtonType of TabControlExt.

Five type of CloseButton:

  • Common
  • Individual
  • Both
  • Hide
  • IndividualOnMouseOver.

 

Common: Common close button displayed at right corner of Tab header panel to close the tabs based on the SelectedItem and it is the default value of CloseButtonType property.

The same has been explained in the following code snippet:

 

 

             

 

Individual: Close button will display on each of the tab items present in TabControlExt. This can be achieved by setting the CloseButtonType property as Individual

 

 

 

 

Both: Close button will display on each individual tab items and it also display as common close button for all tabitems. It can be achieved by setting CloseButtonType as Both.

 

 

 

 

IndividualOnMouseHover: Close button will display on each of the tabitems on mouse hover. It can be achieved by setting CloseButtonType as IndividualOnMouseHover.

 

 

 

Hide: Hide the close button of tabs. It can be achieved by setting the CloseButtonType as Hide.

 

 

 

2X faster development

The ultimate WPF 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

Live Chat Icon For mobile
Live Chat Icon