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