PushButtonState Enumeration
.NET Framework (current version)
Specifies the visual state of a button that is drawn with visual styles.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| Default | The button has the default appearance. | |
| Disabled | The button is disabled. | |
| Hot | The button is hot. | |
| Normal | The button has the normal appearance. | |
| Pressed | The button is pressed. |
The PushButtonState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement::Button::PushButton class. The PushButtonState values are also used as an argument in the ButtonRenderer::DrawButton method.
.NET Framework
Available since 2.0
Available since 2.0
Show: