System.Windows.Forms.ButtonState Enumeration

Specifies the appearance of a button.

Syntax

[System.Flags]
public enum ButtonState

Remarks

This enumeration represents the different states of a button. The default state is Normal.

Members

Member NameDescription
All

All flags except Normal are set.

Checked

The button has a checked or latched appearance. Use this appearance to show that a toggle button has been pressed.

Flat

The button has a flat, two-dimensional appearance.

Inactive

The button is inactive (grayed).

Normal

The button has its normal appearance (three-dimensional).

Pushed

The button appears pressed.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0