DarkHighlightingStyleColorPalette Class
Provides the base requirements for a dark themed palette of colors to be used with a IHighlightingStyle.
public class DarkHighlightingStyleColorPalette : HighlightingStyleColorPaletteBase, IHighlightingStyleColorPalette
- Inheritance:
- object HighlightingStyleColorPaletteBase object
- Implements:
- IHighlightingStyleColorPalette
Constructors
DarkHighlightingStyleColorPalette()
Initializes a new instance of the class.
public DarkHighlightingStyleColorPalette()
Methods
AdaptColor(Color?)
Adapts a color designed for the light color palette so it can be used in the dark color palette.
public static Color? AdaptColor(Color? lightColor)
Parameter | Type | Description |
---|---|---|
lightColor | Color? | The light color to adapt. |
Returns
- Color?:
The adaptation of the color or the original color if no adaptation was performed.
Inherited Members
- HighlightingStyleColorPaletteBase.ClearAll()
- HighlightingStyleColorPaletteBase.ClearKey(string)
- HighlightingStyleColorPaletteBase.ContainsKey(string)
- HighlightingStyleColorPaletteBase.GetBackground(string)
- HighlightingStyleColorPaletteBase.GetBorder(string)
- HighlightingStyleColorPaletteBase.GetForeground(string)
- HighlightingStyleColorPaletteBase.GetStrikethrough(string)
- HighlightingStyleColorPaletteBase.GetUnderline(string)
- HighlightingStyleColorPaletteBase.SetBackground(string, Color?)
- HighlightingStyleColorPaletteBase.SetBackground(string, Color?, bool)
- HighlightingStyleColorPaletteBase.SetBorder(string, Color?)
- HighlightingStyleColorPaletteBase.SetBorder(string, Color?, bool)
- HighlightingStyleColorPaletteBase.SetForeground(string, Color?)
- HighlightingStyleColorPaletteBase.SetForeground(string, Color?, bool)
- HighlightingStyleColorPaletteBase.SetStrikethrough(string, Color?)
- HighlightingStyleColorPaletteBase.SetStrikethrough(string, Color?, bool)
- HighlightingStyleColorPaletteBase.SetUnderline(string, Color?)
- HighlightingStyleColorPaletteBase.SetUnderline(string, Color?, bool)
- HighlightingStyleColorPaletteBase.Keys
- HighlightingStyleColorPaletteBase.Name
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()