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.v22.1.Core.dll

Declaration

bool IsEmpty { get; }

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.

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.

See Also