RadioButtonState Enum

Definition

Specifies the visual state of an option button (also known as a radio button) that is drawn with visual styles.

public enum RadioButtonState
Inheritance
RadioButtonState

Fields

Name Value Description
UncheckedNormal 1

The option button is unchecked and normal.

UncheckedHot 2

The option button is unchecked and hot.

UncheckedPressed 3

The option button is unchecked and pressed.

UncheckedDisabled 4

The option button is unchecked and disabled.

CheckedNormal 5

The option button is checked and normal.

CheckedHot 6

The option button is checked and hot.

CheckedPressed 7

The option button is checked and pressed.

CheckedDisabled 8

The option button is checked and disabled.

Remarks

The RadioButtonState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.Button.RadioButton class. The RadioButtonState values are also used as an argument in the RadioButtonRenderer.DrawRadioButton method.

Applies to

Produit Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9