System.Windows.Forms.VisualStyles.TextBoxState Enumeration

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

Syntax

public enum TextBoxState

Remarks

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

Members

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.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0