PushButtonState 枚举

定义

指定用视觉样式绘制的按钮的视觉状态。Specifies the visual state of a button that is drawn with visual styles.

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

字段

Default 5

该按钮具有默认外观。The button has the default appearance.

Disabled 4

该按钮已被禁用。The button is disabled.

Hot 2

该按钮为热按钮。The button is hot.

Normal 1

该按钮具有正常外观。The button has the normal appearance.

Pressed 3

该按钮处于按下状态。The button is pressed.

注解

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

适用于