Table of Contents

Method LightDark

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

LightDark(Color, Color)

Creates LightDarkColor with the specified two colors used in light and dark themes.

public static LightDarkColor LightDark(Color light, Color dark)

Parameters

light Color

Color used when light theme is on.

dark Color

Color used when dark theme is on.

Returns

LightDarkColor