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

TabControlAdv ShowTabCloseButton

Thread ID:





102172 Jan 5,2012 11:06 PM UTC Jan 9,2012 01:58 PM UTC WinForms 1
Tags: Tools
Christine Cipriani
Asked On January 5, 2012 11:06 PM UTC

We are developing an application that uses TabControlAdv. We want to show the close button on every tab to allow the user to close a page even if that page is not the currently active page, i.e. it does not have the focus.

An example of this functionality can be seen in Visual Studio 2010 as well as many browsers. However, we are seeing that when you hover over the close button of a non-active page, the close button does not appear to be active. Clicking on the 'x' just causes the control to switch to that page. Is there a way to close a page that is not currently the active page? If not, what is the purpose of having a close button on every page?

We are currently using Syncfusion and running Windows XP.

Thanks in advance for your help.


Rajasekar R [Syncfusion]
Replied On January 9, 2012 01:58 PM UTC

Hi Chris,

Thanks for your interest with Syncfusion products.

By using the following properties of the TabControlAdv we can set the close button for the Active tab.

[Code Snippets]

this.tabControlAdv1.ShowCloseButtonForActiveTabOnly = true;

this.tabControlAdv1.ShowTabCloseButton = true;

And also here I have attached the sample for your reference.


Please have a look at the above sample and let us know if you have any concerns.

Rajasekar R.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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