RichEditBox.IsReadOnly Property
Definition
Gets or sets a value that indicates whether the user can change the text in the RichEditBox.
Equivalent WinUI property: Microsoft.UI.Xaml.Controls.RichEditBox.IsReadOnly.
public:
property bool IsReadOnly { bool get(); void set(bool value); };
bool IsReadOnly();
void IsReadOnly(bool value);
public bool IsReadOnly { get; set; }
var boolean = richEditBox.isReadOnly;
richEditBox.isReadOnly = boolean;
Public Property IsReadOnly As Boolean
<RichEditBox IsReadOnly="bool"/>
Property Value
True if the RichEditBox is read-only; otherwise, false. The default is false.