| Visual Basic (Declaration) | |
|---|---|
Public Property TabCloseButtonAlignment As TabCloseButtonAlignment | |
| C# | |
|---|---|
public TabCloseButtonAlignment TabCloseButtonAlignment {get; set;} | |
| Exception | Description |
|---|---|
| InvalidEnumArgumentException | The value assigned is not defined in the T:TabCloseButtonAlignment 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; | |
