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 set different types of CloseButton for the Tabs in the TabControlExt?

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.

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
5971 01/12/2016 01/12/2016 WPF TabControlExt 4.5
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.