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

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.v20.2.Core.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.DocumentViewer.Core, DevExpress.Wpf.DocumentViewer.Core

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