Redigera

Dela via


VisualStyleInformation.ColorScheme Property

Definition

Gets the color scheme of the current visual style.

public:
 static property System::String ^ ColorScheme { System::String ^ get(); };
public static string ColorScheme { get; }
static member ColorScheme : string
Public Shared ReadOnly Property ColorScheme As String

Property Value

A string that specifies the color scheme of the current visual style if visual styles are enabled; otherwise, an empty string ("").

Remarks

The Windows XP visual style provides three color schemes. This property returns "NormalColor" if the blue color scheme is active, "HomeStead" if the olive green color scheme is active, and "Metallic" if the silver color scheme is active.

Applies to