Skybound VisualStyles

ThemeStates Class

Provides a set of constants that define the states of theme parts.

For a list of all members of this type, see ThemeStates Members.

System.Object
   Skybound.VisualStyles.ThemeStates

[Visual Basic]
NotInheritable Public Class ThemeStates
[C#]
public sealed class ThemeStates

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Each theme class has many parts that can be drawn. For example, the Button theme class has ButtonPushButton, ButtonCheckBox and other parts that can be drawn seperately. You specify the state of each part using the fields of ThemeStates. For example, the PushButtonHot states is used to draw a button in a "hot" state (the mouse is positioned over the control).

Use the fields in this class when calling the Draw and GetForeColor methods of ThemePaint when drawing a control.

Requirements

Namespace: Skybound.VisualStyles

Assembly: Skybound.VisualStyles (in Skybound.VisualStyles.dll)

See Also

ThemeStates Members | Skybound.VisualStyles Namespace