Skip to main content

DocumentPreviewControl.Document Property

Provides access to the current document’s view model settings.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v24.2.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

public IDocumentViewModel Document { get; }

Property Value

Type Description
IDocumentViewModel

An object implementing the IDocumentViewModel interface.

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