Click or drag to resize
GridTabControl Class
The GridTabControl control switches between several grid tabs.
Inheritance Hierarchy

Namespace: Stingray.Grid
Assembly: Stingray.GridTabControl (in Stingray.GridTabControl.dll) Version: [TAG_DECIMAL_VERSION]
Syntax
[ToolboxBitmapAttribute(typeof(GridTabControl), "GridTabControl.ico")]
public class GridTabControl : Panel, 
	ISupportInitialize, IExtenderProvider

The GridTabControl type exposes the following members.

Constructors
  NameDescription
Public methodGridTabControl
Initializes a new instance of the GridTabControl class.
Top
Methods
  NameDescription
Public methodAddTab
Adds a tab to a GridTabControl.
Public methodGetTabIdx
Gets the tab's index for specified Control.
Public methodGetTabLabel
Retrieves the TabLabel text associated with the specified control.
Public methodRemoveTab(Int32)
Removes the tab at the specified index location.
Public methodRemoveTab(Control)
Removes the control and a tab associated with it from this GridTabControl.
Public methodSetTabIdx
Associates a TabLabel text with the specified control.
Public methodSetTabLabel
Associates a TabLabel text with the specified control.
Top
Properties
  NameDescription
Public propertySelectedIndex
Gets or sets the index of the currently selected tab.
Public propertySelectedSheet
Gets or sets the currently selected tab.
Public propertyTabControls
Gets the array of tab controls in they tab order.
Top
Events
  NameDescription
Public eventSelectedIndexChanged
Occurs when the SelectedIndex property is changed.
Top
Remarks
The GridTabControl control displays a tab-beam control on the bottom of the control. The functionality of the GridTabControl control is like the functionality of a workbook in Microsoft Excel. Stingray Grid objects and any other objects derived from the Control class controls can be added as tab items.
See Also