PdfViewerControl.PrintDocumentCommand Property

Prints the document.

Namespace: DevExpress.UI.Xaml.Controls

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

Declaration

public ICommand PrintDocumentCommand { get; set; }
Public Property PrintDocumentCommand As ICommand

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