Bewerken

Share via


MaskedTextBox.ReadOnly Property

Definition

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

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

Property Value

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

Applies to