ITabStripRenderer Interface
Provides the base requirements for a TabStrip control renderer.
[TypeConverter(typeof(GenericExpandableNullableObjectConverter))]
public interface ITabStripRenderer : IUIRenderer
Properties
TabStripButtonSize
TabStripPageMargin
Gets the margin space that surrounds a TabStripPage.
TabStripTabImageMargin
Gets the margin space that surrounds an image in a TabStripPage tab.
int TabStripTabImageMargin { get; }
Property Value
- int:
The margin space that surrounds an image in a TabStripPage tab.
TabStripTabIndent
Gets the amount of space that a TabStripPage tab should be indented.
int TabStripTabIndent { get; }
Property Value
- int:
The amount of space that a TabStripPage tab should be indented.
TabStripTabInnerMargin
Gets the margin space between a TabStripPage tab and the inner client area edge of the control.
int TabStripTabInnerMargin { get; }
Property Value
- int:
The margin space between a TabStripPage tab and the inner client area edge of the control.
TabStripTabOuterMargin
Gets the margin space between a TabStripPage tab and the outer edge of the control.
int TabStripTabOuterMargin { get; }
Property Value
- int:
The margin space between a TabStripPage tab and the outer edge of the control.
TabStripTabOverlap
Gets the amount of space that sequential TabStripPage tabs overlap each other.
int TabStripTabOverlap { get; }
Property Value
- int:
The amount of space that sequential TabStripPage tabs overlap each other.
TabStripTabTextMargin
Gets the margin space that surrounds the text in a TabStripPage tab.
int TabStripTabTextMargin { get; }
Property Value
- int:
The margin space that surrounds the text in a TabStripPage tab.
Methods
DrawTabStripBackground(PaintEventArgs, Rectangle, TabStrip)
Draws the background of a TabStrip control.
void DrawTabStripBackground(PaintEventArgs e, Rectangle bounds, TabStrip tabStrip)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
tabStrip | TabStrip | The TabStrip being painted. |
DrawTabStripButton(PaintEventArgs, Rectangle, TabStripButton)
Draws a TabStripButton.
void DrawTabStripButton(PaintEventArgs e, Rectangle bounds, TabStripButton button)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
button | TabStripButton | The TabStripButton that is being painted. |
DrawTabStripPageBackground(PaintEventArgs, Rectangle, TabStripPage)
Draws the background of a TabStripPage control.
void DrawTabStripPageBackground(PaintEventArgs e, Rectangle bounds, TabStripPage tabStripPage)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
tabStripPage | TabStripPage | The TabStripPage being painted. |
DrawTabStripTab(PaintEventArgs, Rectangle, TabStripTab)
Draws a TabStripTab.
void DrawTabStripTab(PaintEventArgs e, Rectangle bounds, TabStripTab tabStripTab)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
bounds | Rectangle | The bounds in which to draw. |
tabStripTab | TabStripTab | The TabStripTab that is being painted. |
MeasureTabStripTab(Graphics, TabStripPage)
Measures the tab for the specified TabStripPage.
Size MeasureTabStripTab(Graphics g, TabStripPage tabStripPage)
Parameter | Type | Description |
---|---|---|
g | Graphics | The |
tabStripPage | TabStripPage | The TabStripPage whose tab is being measured. |