Document.IsEmpty Property
Indicates whether the document is empty, i.e. contains only default content.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v23.1.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the document contains only default content; otherwise, false. |
Remarks
Use the IsEmpty property to check if the document contains anything other than the default content supplied when the control is initialized.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsEmpty property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.