VisualStyleElement.ClassName Property


Gets the class name of the visual style element that this VisualStyleElement represents.

 property System::String ^ ClassName { System::String ^ get(); };
public string ClassName { get; }
member this.ClassName : string
Public ReadOnly Property ClassName As String

Property Value


A string that represents the class name of a visual style element.


A class name refers to a group of related visual style elements that are typically drawn together. A class name can correspond to a control, such as "SCROLLBAR" and "TRACKBAR", but a class name can also refer to a group of elements that do not correspond to a particular control, such as "EXPLORERBAR" and "STARTPANEL".

For more information on visual style classes, parts, and states, see Parts and States.

Applies to

See also