PushButtonState Enumeration
TOC
Collapse the table of content
Expand the table of content

PushButtonState Enumeration

 

Specifies the visual state of a button that is drawn with visual styles.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum PushButtonState

Member nameDescription
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
Return to top
Show:
© 2016 Microsoft