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

Declaration

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

Property Value

Type Description
IPrintDocumentSource

An object implementing the IPrintDocumentSource interface.

Remarks

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

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