Class DarkFormsRenderer
A renderer to draw the visual styles for UI elements.
Inherited Members
Namespace: Gorgon.Editor.UI
Assembly: Gorgon.Editor.API.dll
Syntax
public class DarkFormsRenderer : ToolStripRenderer
Remarks
Plug in developers should use this class to ensure that the color theme of the UI for the plug in matches the rest of the application (as close as possible).
The theme will be applied to any winforms controls that support themed rendering automatically.
Fields
| Edit this page View SourceBorderColor
Border color.
Declaration
public static readonly Color BorderColor
Field Value
Type | Description |
---|---|
Color |
CutForeground
Foreground color for a cut item.
Declaration
public static readonly Color CutForeground
Field Value
Type | Description |
---|---|
Color |
DarkBackground
Dark background color for most items.
Declaration
public static readonly Color DarkBackground
Field Value
Type | Description |
---|---|
Color |
DisabledColor
Disabled color.
Declaration
public static readonly Color DisabledColor
Field Value
Type | Description |
---|---|
Color |
ExcludedColor
Excluded directory color.
Declaration
public static readonly Color ExcludedColor
Field Value
Type | Description |
---|---|
Color |
FocusedBackground
Focused/mouse over background color.
Declaration
public static readonly Color FocusedBackground
Field Value
Type | Description |
---|---|
Color |
FocusedForeground
Focused/mouse over foreground color.
Declaration
public static readonly Color FocusedForeground
Field Value
Type | Description |
---|---|
Color |
ForeColor
Foreground color.
Declaration
public static readonly Color ForeColor
Field Value
Type | Description |
---|---|
Color |
MenuHilightBackground
Hilighted menu item background color.
Declaration
public static readonly Color MenuHilightBackground
Field Value
Type | Description |
---|---|
Color |
MenuHilightForeground
Hilighted menu item foreground color.
Declaration
public static readonly Color MenuHilightForeground
Field Value
Type | Description |
---|---|
Color |
OpenFileForeground
Foreground color for an open item.
Declaration
public static readonly Color OpenFileForeground
Field Value
Type | Description |
---|---|
Color |
WindowBackground
Normal window background.
Declaration
public static readonly Color WindowBackground
Field Value
Type | Description |
---|---|
Color |
Methods
| Edit this page View SourceOnRenderArrow(ToolStripArrowRenderEventArgs)
Raises the RenderArrow event.
Declaration
protected override void OnRenderArrow(ToolStripArrowRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripArrowRenderEventArgs | e | A ToolStripArrowRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderButtonBackground(ToolStripItemRenderEventArgs)
Raises the RenderButtonBackground event.
Declaration
protected override void OnRenderButtonBackground(ToolStripItemRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripItemRenderEventArgs | e | A ToolStripRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs)
Raises the RenderDropDownButtonBackground event.
Declaration
protected override void OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripItemRenderEventArgs | e | A ToolStripItemRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderGrip(ToolStripGripRenderEventArgs)
Raises the RenderGrip event.
Declaration
protected override void OnRenderGrip(ToolStripGripRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripGripRenderEventArgs | e | A ToolStripGripRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderImageMargin(ToolStripRenderEventArgs)
Draws the item background.
Declaration
protected override void OnRenderImageMargin(ToolStripRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripRenderEventArgs | e | A ToolStripRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderItemCheck(ToolStripItemImageRenderEventArgs)
Raises the RenderItemCheck event.
Declaration
protected override void OnRenderItemCheck(ToolStripItemImageRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripItemImageRenderEventArgs | e | A ToolStripItemImageRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderItemText(ToolStripItemTextRenderEventArgs)
Raises the RenderItemText event.
Declaration
protected override void OnRenderItemText(ToolStripItemTextRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripItemTextRenderEventArgs | e | A ToolStripItemTextRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderMenuItemBackground(ToolStripItemRenderEventArgs)
Raises the RenderMenuItemBackground event.
Declaration
protected override void OnRenderMenuItemBackground(ToolStripItemRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripItemRenderEventArgs | e | A ToolStripItemRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderSeparator(ToolStripSeparatorRenderEventArgs)
Raises the RenderSeparator event.
Declaration
protected override void OnRenderSeparator(ToolStripSeparatorRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripSeparatorRenderEventArgs | e | A ToolStripSeparatorRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderSplitButtonBackground(ToolStripItemRenderEventArgs)
Raises the OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs) event.
Declaration
protected override void OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripItemRenderEventArgs | e | A ToolStripItemRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderToolStripBackground(ToolStripRenderEventArgs)
Raises the RenderToolStripBackground event.
Declaration
protected override void OnRenderToolStripBackground(ToolStripRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripRenderEventArgs | e | A ToolStripRenderEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnRenderToolStripBorder(ToolStripRenderEventArgs)
Raises the RenderToolStripBorder event.
Declaration
protected override void OnRenderToolStripBorder(ToolStripRenderEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ToolStripRenderEventArgs | e | A ToolStripRenderEventArgs that contains the event data. |