Skip to main content

DocumentViewer.GetDocumentViewer(DependencyObject) Method

Gets the value of the DocumentViewer.DocumentViewer attached property from a given object.

Namespace: DevExpress.Xpf.Printing

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

NuGet Package: DevExpress.Wpf.Printing

Declaration

public static DocumentViewer GetDocumentViewer(
    DependencyObject obj
)

Parameters

Name Type Description
obj DependencyObject

An object whose DocumentViewer property’s value must be returned.

Returns

Type Description
DocumentViewer

The value of the DocumentViewer attached property for the specified object.

See Also