Skip to main content

PdfViewerControl.PrintDocumentCommand Property

Prints the document.

Namespace: DevExpress.UI.Xaml.Controls

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public ICommand PrintDocumentCommand { get; set; }

Property Value

Type Description
ICommand

A command that implements the Windows.UI.Xaml.Input.ICommand interface.

Remarks

To learn more about using commands, refer to MSDN.

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

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