TextBoxState Enumeration
.NET Framework (current version)
Specifies the visual state of a text box that is drawn with visual styles.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| 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
Available since 2.0
Show: