RichEditControl.Text Property
Gets or sets the control’s content as a plain text.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.XtraRichEdit.v22.2.dll
NuGet Package: DevExpress.Win.RichEdit
Declaration
Property Value
Type | Description |
---|---|
String | A string, containing the document’s unformatted text. |
Remarks
Use the Text property to get the plain text displayed in the RichEditControl.
The RichEditControl.ContentChanged event fires when the document is loaded using the Text property.
Check the Text property value in the RichEditControl.DocumentLoaded event handler, i.e., when the document is fully loaded.
Use the following properties to retrieve text in other formats:
- RichEditControl.RtfText
- XtraForm.HtmlText
- RichEditControl.MhtText
- RichEditControl.OpenXmlBytes
- RichEditControl.DocBytes
- RichEditControl.OpenDocumentBytes
- RichEditControl.WordMLText