Class NoirRenderer
Represents the renderer of the TabControl. This renderer has a dark color theme.
Inherited Members
Namespace: Manina.Windows.Forms.TabControlRenderers
Assembly: TabControl.dll
Syntax
public class NoirRenderer : TabControl.TabControlRenderer
Constructors
| Improve this Doc View SourceNoirRenderer(TabControl)
Initializes a new instance of the NoirRenderer class.
Declaration
public NoirRenderer(TabControl parent)
Parameters
Type | Name | Description |
---|---|---|
TabControl | parent |
Properties
| Improve this Doc View SourceActiveTabBackColor
Gets or sets the background color of active tabs.
Declaration
public override Color ActiveTabBackColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceActiveTabForeColor
Gets or sets the foreground color of active tabs.
Declaration
public override Color ActiveTabForeColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceHotAndActiveTabBackColor
Gets or sets the background color of hot and active tabs.
Declaration
public override Color HotAndActiveTabBackColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceHotButtonBackColor
Gets or sets the background color of hot scroll buttons.
Declaration
public override Color HotButtonBackColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceHotTabBackColor
Gets or sets the background color of hot tabs.
Declaration
public override Color HotTabBackColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceHotTabForeColor
Gets or sets the foreground color of hot tabs.
Declaration
public override Color HotTabForeColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceInactiveButtonBackColor
Gets or sets the background color of inactive scroll buttons.
Declaration
public override Color InactiveButtonBackColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceInactiveTabBackColor
Gets or sets the background color of inactive tabs.
Declaration
public override Color InactiveTabBackColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceInactiveTabForeColor
Gets or sets the foreground color of inactive tabs.
Declaration
public override Color InactiveTabForeColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceMarkerColor
Gets or sets the color of selected tab marker.
Declaration
public Color MarkerColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
PressedButtonBackColor
Gets or sets the background color of pressed scroll buttons.
Declaration
public override Color PressedButtonBackColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourcePressedTabBackColor
Gets or sets the background color of pressed tabs.
Declaration
public override Color PressedTabBackColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourcePressedTabForeColor
Gets or sets the foreground color of pressed tabs.
Declaration
public override Color PressedTabForeColor { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Overrides
| Improve this Doc View SourceUseTabColors
Gets or sets whether to use the ForeColor and BackColor properties of the control to paint tabs.
Declaration
public override bool UseTabColors { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
| Improve this Doc View SourceDrawBackGround(Graphics)
Draws the background of the control.
Declaration
public override void DrawBackGround(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics to draw on. |
Overrides
| Improve this Doc View SourceDrawBorder(Graphics, Rectangle)
Draws a border around the control.
Declaration
public override void DrawBorder(Graphics g, Rectangle borderBounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics to draw on. |
System.Drawing.Rectangle | borderBounds | Bounding rectangle of the display area of the control. |
Overrides
| Improve this Doc View SourceDrawCloseButton(Graphics, TabControl.TabControlRenderer.DrawTabParams)
Draws the close button of a tab.
Declaration
public override void DrawCloseButton(Graphics g, TabControl.TabControlRenderer.DrawTabParams param)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics to draw on. |
TabControl.TabControlRenderer.DrawTabParams | param | The parameters required to draw the tab. |
Overrides
DrawFarScrollButton(Graphics, TabControl.TabControlRenderer.DrawButtonParams)
Draws the far scroll button.
Declaration
public override void DrawFarScrollButton(Graphics g, TabControl.TabControlRenderer.DrawButtonParams param)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics to draw on. |
TabControl.TabControlRenderer.DrawButtonParams | param | The parameters required to draw the button. |
Overrides
| Improve this Doc View SourceDrawNearScrollButton(Graphics, TabControl.TabControlRenderer.DrawButtonParams)
Draws the near scroll button.
Declaration
public override void DrawNearScrollButton(Graphics g, TabControl.TabControlRenderer.DrawButtonParams param)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics to draw on. |
TabControl.TabControlRenderer.DrawButtonParams | param | The parameters required to draw the button. |
Overrides
| Improve this Doc View SourceDrawSeparator(Graphics, TabControl.TabControlRenderer.DrawTabParams)
Draws the separators between tabs.
Declaration
public override void DrawSeparator(Graphics g, TabControl.TabControlRenderer.DrawTabParams param)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics to draw on. |
TabControl.TabControlRenderer.DrawTabParams | param | The parameters required to draw the tab. |
Overrides
| Improve this Doc View SourceDrawTabContents(Graphics, TabControl.TabControlRenderer.DrawTabParams)
Draws the contents of a tab.
Declaration
public override void DrawTabContents(Graphics g, TabControl.TabControlRenderer.DrawTabParams param)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics to draw on. |
TabControl.TabControlRenderer.DrawTabParams | param | The parameters required to draw the tab. |