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.1.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