Table of Contents

Class ColorUtils

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

Contains Color related static methods.

public static class ColorUtils
Inheritance
ColorUtils

Methods

FindKnownColor(Color?)

Converts Color to known color if its possible.

GetColorInfo(KnownColor)

Gets IKnownColorInfo for KnownColor.

GetColorInfos()

Gets all registered IKnownColorInfo items.

GetDefaultBorderColor(Control?)

Gets default border color if no colors are specified for the border.

GetDefaultBorderColor(bool)

Gets default border color.

GetLabelLocalized(KnownColor)

Gets localized color name for KnownColor.

GetResetColors(ResetColorType, Control?, ControlRenderSizeVariant)

Gets IReadOnlyFontAndColor instance for the specified method.

GetTabControlInteriorBorderColor(bool)

Gets default interior border color of the tab control.

SetLabelLocalized(KnownColor, string)

Sets localized label registered for the KnownColor.

SetVisibleColors(KnownColorCategory, bool)

Gets or sets whether colors from the specified category are visible for the end user.