Skip to main content

DocumentViewerBase.Document Property

Specifies the document assigned to the DocumentViewer.

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

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

Property Value

Type Description
IDocument

An object implementing the IDocument interface. (Typically, this is a Document object.)

Remarks

To specify an object that will serve as a document provider, use the DocumentViewer.DocumentSource property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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