System.Windows.Forms.VisualStyles.PushButtonState Enumeration

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

Syntax

public enum PushButtonState

Remarks

The System.Windows.Forms.VisualStyles.PushButtonState values correspond to the states of the System.Windows.Forms.VisualStyles.VisualStyleElement objects exposed by the System.Windows.Forms.VisualStyles.VisualStyleElement.Button.PushButton class. The System.Windows.Forms.VisualStyles.PushButtonState values are also used as an argument in the erload:System.Windows.Forms.ButtonRenderer.DrawButton method.

Members

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.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0