This documentation is archived and is not being maintained.

RadioButtonState Enumeration

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

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

public enum RadioButtonState
public enum RadioButtonState
public enum RadioButtonState

 Member nameDescription
CheckedDisabledThe option button is checked and disabled. 
CheckedHotThe option button is checked and hot. 
CheckedNormalThe option button is checked and normal. 
CheckedPressedThe option button is checked and pressed. 
UncheckedDisabledThe option button is unchecked and disabled. 
UncheckedHotThe option button is unchecked and hot. 
UncheckedNormalThe option button is unchecked and normal. 
UncheckedPressedThe option button is unchecked and pressed. 

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 System.Windows.Forms.RadioButtonRenderer.DrawRadioButton method.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: