Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public IPrintDocumentSource PrintDocumentSource { get; set; }

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