Click or drag to resize
GridTabControlGetTabLabel Method
Retrieves the TabLabel text associated with the specified control.

Namespace: Stingray.Grid
Assembly: Stingray.GridTabControl (in Stingray.GridTabControl.dll) Version: 14.0.0.0
Syntax
public virtual string GetTabLabel(
	Control sheet
)

Parameters

sheet
Type: System.Windows.FormsControl
The Control for which to retrieve the TabLabel text.

Return Value

Type: String
The TabLabel text for the specified control.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when sheet can not be found in the GridTabControl's Controls collection.
Remarks
This method enables you to retrieve the TabLabel text for any control that belongs to the GridTabControl's Controls collection. To change the text that is displayed by a tab associated with a control, use the SetTabLabel(Control, String) method.
See Also