Skip to main content
A newer version of this page is available. .

RichEditControl.Document Property

Provides access to a Document interface specifying the control’s document.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v18.2.dll

Declaration

[Browsable(false)]
public Document Document { get; }

Property Value

Type Description
Document

A Document interface specifying a document loaded in the control.

Remarks

The Document property is the main access point to the XtraRichEdit API.

Note

The Document property gives you access only to the main document body. In particular, it means that you cannot access field or bookmark collections located in the header/footer using this property, but only via the Section.BeginUpdateHeader - Section.EndUpdateHeader pair.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Document 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