Show / Hide Table of Contents

Class NoirRenderer

Represents the renderer of the TabControl. This renderer has a dark color theme.

Inheritance
System.Object
TabControl.TabControlRenderer
NoirRenderer
Inherited Members
TabControl.TabControlRenderer.Parent
TabControl.TabControlRenderer.BorderColor
TabControl.TabControlRenderer.SeparatorColor
TabControl.TabControlRenderer.Render(Graphics)
TabControl.TabControlRenderer.DrawTabBackGround(Graphics, TabControl.TabControlRenderer.DrawTabParams)
TabControl.TabControlRenderer.DrawTabIcon(Graphics, TabControl.TabControlRenderer.DrawTabParams)
TabControl.TabControlRenderer.DrawTabText(Graphics, TabControl.TabControlRenderer.DrawTabParams)
TabControl.TabControlRenderer.GetTabBackColor(TabControl.TabControlRenderer.DrawTabParams)
TabControl.TabControlRenderer.GetTabForeColor(TabControl.TabControlRenderer.DrawTabParams)
TabControl.TabControlRenderer.GetScrollButtonBackColor(TabControl.TabControlRenderer.DrawButtonParams)
TabControl.TabControlRenderer.GetCloseTabButtonBackColor(TabControl.TabControlRenderer.DrawTabParams)
Namespace: Manina.Windows.Forms.TabControlRenderers
Assembly: TabControl.dll
Syntax
public class NoirRenderer : TabControl.TabControlRenderer

Constructors

| Improve this Doc View Source

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

ActiveTabBackColor

Gets or sets the background color of active tabs.

Declaration
public override Color ActiveTabBackColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.ActiveTabBackColor
| Improve this Doc View Source

ActiveTabForeColor

Gets or sets the foreground color of active tabs.

Declaration
public override Color ActiveTabForeColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.ActiveTabForeColor
| Improve this Doc View Source

HotAndActiveTabBackColor

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
TabControl.TabControlRenderer.HotAndActiveTabBackColor
| Improve this Doc View Source

HotButtonBackColor

Gets or sets the background color of hot scroll buttons.

Declaration
public override Color HotButtonBackColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.HotButtonBackColor
| Improve this Doc View Source

HotTabBackColor

Gets or sets the background color of hot tabs.

Declaration
public override Color HotTabBackColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.HotTabBackColor
| Improve this Doc View Source

HotTabForeColor

Gets or sets the foreground color of hot tabs.

Declaration
public override Color HotTabForeColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.HotTabForeColor
| Improve this Doc View Source

InactiveButtonBackColor

Gets or sets the background color of inactive scroll buttons.

Declaration
public override Color InactiveButtonBackColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.InactiveButtonBackColor
| Improve this Doc View Source

InactiveTabBackColor

Gets or sets the background color of inactive tabs.

Declaration
public override Color InactiveTabBackColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.InactiveTabBackColor
| Improve this Doc View Source

InactiveTabForeColor

Gets or sets the foreground color of inactive tabs.

Declaration
public override Color InactiveTabForeColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.InactiveTabForeColor
| Improve this Doc View Source

MarkerColor

Gets or sets the color of selected tab marker.

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

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
TabControl.TabControlRenderer.PressedButtonBackColor
| Improve this Doc View Source

PressedTabBackColor

Gets or sets the background color of pressed tabs.

Declaration
public override Color PressedTabBackColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.PressedTabBackColor
| Improve this Doc View Source

PressedTabForeColor

Gets or sets the foreground color of pressed tabs.

Declaration
public override Color PressedTabForeColor { get; }
Property Value
Type Description
System.Drawing.Color
Overrides
TabControl.TabControlRenderer.PressedTabForeColor
| Improve this Doc View Source

UseTabColors

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
TabControl.TabControlRenderer.UseTabColors

Methods

| Improve this Doc View Source

DrawBackGround(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
TabControl.TabControlRenderer.DrawBackGround(Graphics)
| Improve this Doc View Source

DrawBorder(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
TabControl.TabControlRenderer.DrawBorder(Graphics, Rectangle)
| Improve this Doc View Source

DrawCloseButton(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
TabControl.TabControlRenderer.DrawCloseButton(Graphics, TabControl.TabControlRenderer.DrawTabParams)
| Improve this Doc View Source

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
TabControl.TabControlRenderer.DrawFarScrollButton(Graphics, TabControl.TabControlRenderer.DrawButtonParams)
| Improve this Doc View Source

DrawNearScrollButton(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
TabControl.TabControlRenderer.DrawNearScrollButton(Graphics, TabControl.TabControlRenderer.DrawButtonParams)
| Improve this Doc View Source

DrawSeparator(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
TabControl.TabControlRenderer.DrawSeparator(Graphics, TabControl.TabControlRenderer.DrawTabParams)
| Improve this Doc View Source

DrawTabContents(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.

Overrides
TabControl.TabControlRenderer.DrawTabContents(Graphics, TabControl.TabControlRenderer.DrawTabParams)
Back to top Copyright © 2018 Özgür Özçıtak