| GridTabControlAddTab Method |
Adds a tab to a GridTabControl.
Namespace: Stingray.GridAssembly: Stingray.GridTabControl (in Stingray.GridTabControl.dll) Version: 14.0.0.0
Syntax public virtual int AddTab(
Control sheet,
string label,
bool activate
)
Public Overridable Function AddTab (
sheet As Control,
label As String,
activate As Boolean
) As Integer
public:
virtual int AddTab(
Control^ sheet,
String^ label,
bool activate
)
Parameters
- sheet
- Type: System.Windows.FormsControl
The Control to be added. - label
- Type: SystemString
The tab's label text. - activate
- Type: SystemBoolean
If true, the newly added tab becomes
active.
Return Value
Type:
Int32The index of the created tab.
See Also