Click or drag to resize
GridTabControlAddTab Method
Adds a tab to a GridTabControl.

Namespace: Stingray.Grid
Assembly: Stingray.GridTabControl (in Stingray.GridTabControl.dll) Version: 14.0.0.0
Syntax
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: Int32
The index of the created tab.
See Also