A newer version of this page is available.
Switch to the current version.
RichEditControl.Text Property
Gets or sets the plain text content of the control.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v20.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | A string, containing the document’s unformatted text. |
Remarks
Use the SubDocument.Delete method with a SubDocument.Range as a parameter to clear the text of an existing document. This technique does not reset document properties. Use the RichEditControl.ClearUndo method to wipe off this operation’s trace so it cannot be undone, as follows:
Assigning the Text property value results in a new loaded document that is imported from the plain text format. Check the Text property value when the RichEditControl.DocumentLoaded event handler, i.e. when the document is fully loaded.
See Also
Feedback