TextBoxState 枚举

定义

指定以视觉样式绘制的文本框的视觉状态。Specifies the visual state of a text box that is drawn with visual styles.

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

字段

Assist 7

文本框以辅助模式显示。The text box appears in assist mode.

Disabled 4

文本框显示处于禁用状态。The text box appears disabled.

Hot 2

文本框显示处于热状态。The text box appears hot.

Normal 1

文本框显示处于正常状态。The text box appears normal.

Readonly 6

文本框显示处于只读状态。The text box appears read-only.

Selected 3

文本框显示处于选定状态。The text box appears selected.

注解

这些TextBoxState值对应于VisualStyleElement.TextBox.TextEdit类公开的VisualStyleElement对象的状态。The TextBoxState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.TextBox.TextEdit class. 值还用作TextBoxRenderer.DrawTextBox方法中的参数。 TextBoxStateThe TextBoxState values are also used as an argument in the TextBoxRenderer.DrawTextBox method.

适用于