Breyta

Deila með


TextBoxBase.IsReadOnly Property

Definition

Gets or sets a value that indicates whether the text editing control is read-only to a user interacting with the control.

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

Property Value

true if the contents of the text editing control are read-only to a user; otherwise, the contents of the text editing control can be modified by the user. The default value is false.

Remarks

This value only affects a user who is interacting with the control. The contents of a text editing control can always be modified programmatically.

Dependency Property Information

Identifier field IsReadOnlyProperty
Metadata properties set to true Inherits

Applies to