| Visual Basic (Declaration) | |
|---|---|
Public Property TabCloseButtonVisibility As TabCloseButtonVisibility | |
| C# | |
|---|---|
public TabCloseButtonVisibility TabCloseButtonVisibility {get; set;} | |
| Exception | Description |
|---|---|
| InvalidEnumArgumentException | The value assigned is not defined in the T:TabCloseButtonVisibility enumeration. |
This only applies if the UltraTabControlBase.CloseButtonLocation is set to Tab.
The following code demonstrates how to control the behavior of a close button within a tab at a tab control level.
| Visual Basic | Copy Code |
|---|---|
Imports Infragistics.Win | |
| C# | Copy Code |
|---|---|
using System.Windows.Forms; | |
