Skip to main content
.NET Framework 4.5.2+

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


bool IsEmpty { get; }

Property Value

Type Description

true if the document contains only default content; otherwise, false.


Use the IsEmpty property to check if the document contains anything other than the default content supplied when the control is initialized.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsEmpty property.


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.

See Also