Click or drag to resize
GridTabControlSetTabLabel Method
Associates a TabLabel text with the specified control.

Namespace: Stingray.Grid
Assembly: Stingray.GridTabControl (in Stingray.GridTabControl.dll) Version: 14.0.0.0
Syntax
public virtual void SetTabLabel(
	Control sheet,
	string value
)

Parameters

sheet
Type: System.Windows.FormsControl
The Control with which to associate the TabLabel text.
value
Type: SystemString
The text to display as a tab label.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when sheet can not be found in the GridTabControl's Controls collection.
Remarks
In addition to specifying the TabLabel text to display for a control's tab at design time, you can also use this method to modify the TabLabel text for a control at run time.

To determine the TabLabel text that is associated with a control at run time, you can use the GetTabLabel(Control) method.

See Also