DocumentViewerControl.SetPageNumberCommand Property
Returns a command that sets the number of a currently displayed page.
Namespace: DevExpress.Xpf.DocumentViewer
Assembly: DevExpress.Xpf.DocumentViewer.v24.2.Core.dll
NuGet Package: DevExpress.Wpf.DocumentViewer.Core
Declaration
Property Value
Type | Description |
---|---|
ICommand | An object implementing the ICommand interface that defines the command. |
Remarks
To display a certain page, specify its number as a command’s parameter.
if (DxPdfViewerControl.SetPageNumberCommand.CanExecute(2)) {
DxPdfViewerControl.SetPageNumberCommand.Execute(2);
}
See Also