The requested page is not available for the requested platform. You are viewing the content for Default platform.

PdfViewerControl.PrintDocumentCommand Property

Prints the document.

Namespace: DevExpress.UI.Xaml.Controls

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


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

Property Value

Type Description

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


To learn more about using commands, refer to MSDN.

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

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