The requested page is not available for the requested platform. You are viewing the content for Default platform.

PdfViewerControl.PrintDocumentSource Property

Gets or sets the source for the print document. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Controls

Assembly: DevExpress.UI.Xaml.Controls.v19.2.dll


public IPrintDocumentSource PrintDocumentSource { get; set; }
Public Property PrintDocumentSource As IPrintDocumentSource

Property Value

Type Description

An object implementing the IPrintDocumentSource interface.


The example below illustrates a view model that implements the PdfViewerControl.PrintDocumentCommand.

<dxpdf:PdfViewerControl ShowOpenDocumentButton="True" 
                                PrintDocumentCommand="{Binding PrintDocumentCommand}"
                                PrintDocumentSource="{Binding PrintDocumentSource, Mode=TwoWay}"/>
See Also