VisualStyleRenderer.State Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the state of the current visual style element.
public:
 property int State { int get(); };public int State { get; }member this.State : intPublic ReadOnly Property State As IntegerProperty Value
A value that identifies the state of the current visual style element.
Remarks
This property identifies the current visual state of the element identified by the current Class and Part property values. For more information about the class, part, and state of a visual style element, see the VisualStyleElement class.