Show / Hide Table of Contents

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 Source

DrawTabParams(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 Source

Bounds

Bounding rectangle of the tab.

Declaration
public Rectangle Bounds { get; }
Property Value
Type Description
System.Drawing.Rectangle
| Improve this Doc View Source

Index

Index of the tab in its container collection.

Declaration
public int Index { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IsSelected

Whether the tab is the selected tab of the control.

Declaration
public bool IsSelected { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

State

Visual state of the tab.

Declaration
public ItemState State { get; }
Property Value
Type Description
ItemState
| Improve this Doc View Source

Tab

The tab to be drawn.

Declaration
public Tab Tab { get; }
Property Value
Type Description
Tab
Back to top Copyright © 2018 Özgür Özçıtak