Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RichTextBox.IsReadOnly Property

July 28, 2014

Gets or sets a value that determines whether the user can change the text in the RichTextBox.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public bool IsReadOnly { get; set; }
<RichTextBox IsReadOnly="bool"/>

Property Value

Type: System.Boolean
true if the RichTextBox is read-only; otherwise, false. The default on Windows Phone is true.

 In Windows Phone 8, RichTextBox is read-only. Do not use this property if you are using RichTextBox in a Windows Phone application.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft