Click or drag to resize
TabItem Class
Contains all the information regarding one tab.
Inheritance Hierarchy

Namespace: Stingray.Grid
Assembly: Stingray.GridTabControl (in Stingray.GridTabControl.dll) Version: 14.0.0.0
Syntax
public class TabItem : BtnBase

The TabItem type exposes the following members.

Constructors
  NameDescription
Public methodTabItem
Initializes a new TabItem instance.
Top
Methods
  NameDescription
Public methodContains(Point)
Tests if a point is in the tab.
(Overrides BtnBaseContains(Point).)
Public methodContains(Int32, Int32)
Tests if a point is in the tab.
(Overrides BtnBaseContains(Int32, Int32).)
Public methodDraw
Draws the tab.
(Overrides BtnBaseDraw(Graphics, Boolean).)
Public methodMouseDown
Handles the Mouse Down event from the parent.
(Inherited from BtnBase.)
Public methodMouseLeave
Handles the Mouse Leave event from the parent.
(Inherited from BtnBase.)
Public methodMouseMove
Handles the Mouse Move event from the parent.
(Inherited from BtnBase.)
Public methodMouseUp
Handles the Mouse Up event from the parent.
(Inherited from BtnBase.)
Protected methodOnClick
Raises the Click event.
(Inherited from BtnBase.)
Protected methodRecalcShape
Recalculates the tab's shape based on the currently set position and size.
Top
Fields
  NameDescription
Protected fieldm_bActive
Internal.
Protected fieldm_bMouseIn
Mouse position indicator.
(Inherited from BtnBase.)
Protected fieldm_bPressed
Pressed state indicator.
(Inherited from BtnBase.)
Protected fieldm_bVisible
Visibility state indicator.
(Inherited from BtnBase.)
Protected fieldm_gpShape
Internal.
Protected fieldm_hMouseDown
Handles events for the parent's Mouse Down event.
(Inherited from BtnBase.)
Protected fieldm_hMouseLeave
Handles events for the parent's Mouse Leave event.
(Inherited from BtnBase.)
Protected fieldm_hMouseMove
Handles events for the parent's Mouse Move event.
(Inherited from BtnBase.)
Protected fieldm_hMouseUp
Handles events for the parent's Mouse Up event.
(Inherited from BtnBase.)
Protected fieldm_Parent
Reference to the containing control.
(Inherited from BtnBase.)
Protected fieldm_pTabSheet
Internal.
Protected fieldm_ptMouse
Mouse coordinates.
(Inherited from BtnBase.)
Protected fieldm_rcSizeAndPos
A rectangle that holds a button's size and position.
(Inherited from BtnBase.)
Protected fieldm_strLabel
Internal.
Top
Properties
  NameDescription
Public propertyActive
Gets or sets the tab status.
Public propertyBounds
Gets the button's bound rectangle.
(Inherited from BtnBase.)
Public propertyLabel
Gets or sets the tab's label text.
Public propertyLocation
Sets the tab location.
(Overrides BtnBaseLocation.)
Public propertyMouseIn
Gets or sets the mouse presence indicator.
(Overrides BtnBaseMouseIn.)
Public propertyPress
Sets the pressed state of the tab.
(Overrides BtnBasePress.)
Public propertyptMouse
Gets or sets mouse coordinates.
(Inherited from BtnBase.)
Public propertySize
Sets the tab size.
(Overrides BtnBaseSize.)
Public propertyTabSheet
Gets or sets the the Control associated with the tab.
Public propertyVisible
Gets or sets the visibility state of the button.
(Inherited from BtnBase.)
Top
Events
  NameDescription
Public eventClick
Handles events when the control is clicked.
(Inherited from BtnBase.)
Top
Remarks
Although this class is declared public, it is not intended for direct use in users' applications.
See Also