RadioButtonState 枚举

定义

指定用视觉样式绘制的选项按钮(也称为单选按钮)的视觉状态。Specifies the visual state of an option button (also known as a radio button) that is drawn with visual styles.

public enum class RadioButtonState
public enum RadioButtonState
type RadioButtonState = 
Public Enum RadioButtonState
继承
RadioButtonState

字段

CheckedDisabled 8

选项按钮已被选中并处于禁用状态。The option button is checked and disabled.

CheckedHot 6

选项按钮已被选中并处于热状态。The option button is checked and hot.

CheckedNormal 5

选项按钮已被选中并处于正常状态。The option button is checked and normal.

CheckedPressed 7

选项按钮已被选中并处于按下状态。The option button is checked and pressed.

UncheckedDisabled 4

选项按钮已被取消选中并处于禁用状态。The option button is unchecked and disabled.

UncheckedHot 2

选项按钮已被取消选中并处于热状态。The option button is unchecked and hot.

UncheckedNormal 1

选项按钮已被取消选中并处于正常状态。The option button is unchecked and normal.

UncheckedPressed 3

选项按钮已被取消选中并处于按下状态。The option button is unchecked and pressed.

注解

这些RadioButtonState值对应于VisualStyleElement.Button.RadioButton类公开的VisualStyleElement对象的状态。The RadioButtonState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.Button.RadioButton class. 值还用作RadioButtonRenderer.DrawRadioButton方法中的参数。 RadioButtonStateThe RadioButtonState values are also used as an argument in the RadioButtonRenderer.DrawRadioButton method.

适用于