TextBoxState 列舉

定義

指定利用視覺化樣式描繪的文字方塊之可見狀態。

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

欄位

Assist 7

文字方塊以輔助模式顯示。

Disabled 4

文字方塊顯示為停用。

Hot 2

文字方塊顯示為作用中。

Normal 1

文字方塊顯示為正常。

Readonly 6

文字方塊顯示為唯讀。

Selected 3

文字方塊顯示為已選取。

備註

這些 TextBoxState 值會對應至 類別所 VisualStyleElement.TextBox.TextEdit 公開的物件狀態 VisualStyleElement 。 這些 TextBoxState 值也會當做 方法中的 TextBoxRenderer.DrawTextBox 引數使用。

適用於