ToolBarState 枚举

定义

指定用视觉样式绘制的工具栏项的视觉状态。Specifies the visual state of a toolbar item that is drawn with visual styles.

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

字段

Checked 5

该项处于选中状态。The item is in the checked state.

Disabled 4

该项处于禁用状态。The item is in the disabled state.

Hot 2

该项处于热状态。The item is in the hot state.

HotChecked 6

该项处于热状态和选中状态。The item is in the hot and checked states.

Normal 1

该项处于正常状态。The item is in the normal state.

Pressed 3

该项处于按下状态。The item is in the pressed state.

注解

这些ToolBarState值对应于由VisualStyleElement.ToolBar.ButtonVisualStyleElement.ToolBar.SplitButton VisualStyleElement 、和VisualStyleElement.ToolBar.SplitButtonDropDown类公开的对象的状态。 VisualStyleElement.ToolBar.DropDownButtonThe ToolBarState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.ToolBar.Button, VisualStyleElement.ToolBar.DropDownButton, VisualStyleElement.ToolBar.SplitButton, and VisualStyleElement.ToolBar.SplitButtonDropDown classes.

适用于