Rediger

Del via


ToolBarState Enum

Definition

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
Inheritance
ToolBarState

Fields

Name Value Description
Normal 1

The item is in the normal state.

Hot 2

The item is in the hot state.

Pressed 3

The item is in the pressed state.

Disabled 4

The item is in the disabled state.

Checked 5

The item is in the checked state.

HotChecked 6

The item is in the hot and checked states.

Remarks

The 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.

Applies to