Skip to main content

DocumentViewerControl.GetActualViewer(DependencyObject) Method

Gets the value of the DocumentViewerControl.ActualViewer attached property from a given object.

Namespace: DevExpress.Xpf.DocumentViewer

Assembly: DevExpress.Xpf.DocumentViewer.v21.2.Core.dll

Declaration

public static IDocumentViewerControl GetActualViewer(
    DependencyObject d
)

Parameters

Name Type Description
d DependencyObject

An object whose DocumentViewerControl.ActualViewer property value should be returned.

Returns

Type Description
DevExpress.Xpf.DocumentViewer.IDocumentViewerControl

A document viewer object associated with the specified object.

See Also