MaskedTextBox.ReadOnly Property


Gets or sets a value indicating whether text in the text box is read-only.

 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

Property Value

true to indicate the text is read only; otherwise, false.

Applies to