Table of Contents

Method BackColor

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

BackColor(bool)

Gets the background color for toolbars based on the specified theme.

public static Color BackColor(bool isDark)

Parameters

isDark bool

Indicates whether the background is dark. If true, a color suitable for dark backgrounds is returned; otherwise, a color suitable for light backgrounds is returned.

Returns

Color

A Color value representing the appropriate text color for the specified background type.