TextBoxState Enumeration
TOC
Collapse the table of content
Expand the table of content

TextBoxState Enumeration

 

Specifies the visual state of a text box that is drawn with visual styles.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum TextBoxState

Member nameDescription
Assist

The text box appears in assist mode.

Disabled

The text box appears disabled.

Hot

The text box appears hot.

Normal

The text box appears normal.

Readonly

The text box appears read-only.

Selected

The text box appears selected.

The TextBoxState values correspond to the states of the VisualStyleElement objects exposed by the VisualStyleElement.TextBox.TextEdit class. The TextBoxState values are also used as an argument in the TextBoxRenderer.DrawTextBox method.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft