Table of Contents

Method RegisterColor

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

RegisterColor(string, Color)

Registers color name for use in string to color conversions.

public static void RegisterColor(string name, Color color)

Parameters

name string

Color name.

color Color

Color value.

RegisterColor(string, Func<Color>)

Registers color name for use in string to color conversions.

public static void RegisterColor(string name, Func<Color> colorFunc)

Parameters

name string

Color name.

colorFunc Func<Color>

Function which returns a color.