VegaRise.NET
Back to DOM

SystemColorValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies a system-defined color slot (as defined by the operating system theme).

Remarks

System colors provide semantic slots (ScrollBar, WindowText, Highlight, etc.) whose actual RGB values are resolved by the rendering environment to match the end-user's OS theme. They are consumed by when the color is constructed from a system color name, and by the rendering pipeline to ensure UI consistency. Color

Examples

csharp
1// 1. Use WindowText for body text
2var color = new Color("WindowText");
3
csharp
1// 2. Use Highlight for a background fill
2var color = new Color("Highlight");
3
csharp
1// 3. Use ActiveCaption for a header border
2var border = new BorderStyle { BorderColor = new Color("ActiveCaption") };
3
csharp
1// 4. Prefer system colors for accessibility
2var style = new TextStyle { Font = new Font { Color = new Color("GrayText") } };
3

Fields

ActiveBorder

Active window border color.

ActiveCaption

Active window caption color.

ApplicationWorkspace

Application workspace color.

Background

Desktop background color.

ButtonFace

Button face color.

ButtonHighlight

Button highlight color.

ButtonShadow

Button shadow color.

ButtonText

Button text color.

CaptionText

Caption text color.

GradientActiveCaption

Gradient active caption color.

GradientInactiveCaption

Gradient inactive caption color.

GrayText

Grayed-out text color.

Highlight

Highlight background color.

HighlightText

Highlight text color.

HotLight

Hyperlink hot-tracking color.

InactiveBorder

Inactive window border color.

InactiveCaption

Inactive window caption color.

InactiveCaptionText

Inactive caption text color.

InfoBack

Tooltip background color.

InfoText

Tooltip text color.

Menu

Menu background color.

MenuBar

Menu bar color.

MenuHighlight

Menu item highlight color.

MenuText

Menu text color.

ScrollBar

Scroll-bar color.

ThreeDDarkShadow

Dark shadow color for 3-D elements.

ThreeDLight

Light color for 3-D elements.

Window

Window background color.

WindowFrame

Window frame color.

WindowText

Window text color.

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.