In This Article

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