Skip to main content

DocumentViewerCommands Class

Stores DocumentViewer commands.

Namespace: DevExpress.WinUI.DocumentViewer

Assembly: DevExpress.WinUI.DocumentViewer.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public class DocumentViewerCommands :
    CommandsContainerBase

The following members return DocumentViewerCommands objects:

Remarks

Each DevExpress.WinUI.DocumentViewer Command (except the CloseDocumentCommand) is bound to a UI element.

Document Navigation Commands

Command

Description

Bound UI Element

FirstPageCommand

Gets or sets the command that navigates to the first page of the document.

WinUI DocumentViewer | FirstPage Button

GoToPageCommand

Gets or sets the command that navigates to a specific page of the document.

WinUI DocumentViewer | GoToPage Button

LastPageCommand

Gets or sets the command that navigates to the last page of the document.

WinUI DocumentViewer | LastPage Button

NextPageCommand

Gets or sets the command that navigates to the next page.

WinUI DocumentViewer | NextPage Button

PrevPageCommand

Gets or sets the command that navigates to the previous page.

WinUI DocumentViewer | PrevPage Button

Dialog Commands

Command

Description

Bound UI Element

ShowExportDialogCommand

Gets or sets the command that opens the Export dialog.

WinUI DocumentViewer | Export Button

ShowOpenDialogCommand

Gets or sets the command that opens the Open File dialog.

WinUI DocumentViewer | Open Button

ShowPrintDialogCommand

Gets or sets the command that opens the Print File dialog.

WinUI DocumentViewer | Print Button

ShowSaveDialogCommand

Gets or sets the command that opens the Save File dialog.

WinUI DocumentViewer | Save Button

Miscellaneous Commands

Command

Description

Bound UI Element

CloseDocumentCommand

Gets or sets the command that closes the document in the DocumentViewer.

n/a

ToggleReportParameterPanelCommand

Gets or sets the command that shows or hides the Parameter panel.

WinUI DocumentViewer | Parameters Button

ZoomCommand

Gets or sets the command that specifies the zoom factor.

WinUI DocumentViewer | Zoom Combo Box

Inheritance

Object
BindableBase
DevExpress.WinUI.Core.Internal.CommandsContainerBase
DocumentViewerCommands
See Also