Struct TabControl.TabControlRenderer.DrawTabParams
Represents the parameters required to draw a tab.
Namespace: Manina.Windows.Forms
Assembly: TabControl.dll
Syntax
public struct DrawTabParams
Constructors
| Improve this Doc View SourceDrawTabParams(Int32, Tab, Boolean, ItemState, Rectangle)
Declaration
public DrawTabParams(int index, Tab tab, bool isSelected, ItemState state, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
Tab | tab | |
System.Boolean | isSelected | |
ItemState | state | |
System.Drawing.Rectangle | bounds |
Properties
| Improve this Doc View SourceBounds
Bounding rectangle of the tab.
Declaration
public Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle |
Index
Index of the tab in its container collection.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsSelected
Whether the tab is the selected tab of the control.
Declaration
public bool IsSelected { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
State
Visual state of the tab.
Declaration
public ItemState State { get; }
Property Value
Type | Description |
---|---|
ItemState |
Tab
The tab to be drawn.
Declaration
public Tab Tab { get; }
Property Value
Type | Description |
---|---|
Tab |