MaskedTextBox.ReadOnly 屬性

定義

取得或設定值,指出文字方塊中的文字是否為唯讀。

public:
 property bool ReadOnly { bool get(); void set(bool value); };
public bool ReadOnly { get; set; }
member this.ReadOnly : bool with get, set
Public Property ReadOnly As Boolean

屬性值

Boolean

如果文字是唯讀的則為 true,否則為 false

適用於