Skip to main content

CommandProvider Members

The base class for classes that provide commands corresponding to end-user actions in viewer controls.

Constructors

Name Description
CommandProvider() Initializes a new instance of the CommandProvider class with default settings.

Properties

Name Description
Actions Provides access to the collection of actions when using a standard toolbar.
ClockwiseRotateCommand Returns a command that rotates pages of a displayed document by 90 degrees clockwise.
CloseDocumentCommand Returns a command that closes the currently opened document.
ContextMenuActions
CounterClockwiseRotateCommand Returns a command that rotates pages of a displayed document by 90 degrees counterclockwise.
FindNextTextCommand Returns a command that finds the next occurrence of a search text string.
FindPreviousTextCommand Returns a command that finds the previous occurrence of a search text string.
IsInDesignMode static Gets whether design-time mode is active. Inherited from ViewModelBase.
NavigateCommand Returns a command that navigates to a specified target location within a displayed document.
NextPageCommand Returns a command that navigates to the next page of a displayed document.
NextViewCommand Returns a command that navigates to the next view in a displayed document.
OpenDocumentCommand Returns a command that opens a document from a specified file in the viewer.
PaginationCommand Returns a command that sets the number of a currently displayed page.
PreviousPageCommand Returns a command that navigates to the previous page of a displayed document.
PreviousViewCommand Returns a command that navigates to the previous view in a displayed document.
RibbonActions Provides access to the collection of actions when using a ribbon toolbar.
ScrollCommand Returns a command that scrolls a displayed document.
ShowFindTextCommand Returns a command that shows or hides the Search panel.
ZoomCommand Returns a command that changes the zoom factor of the currently displayed document to a specified value.
ZoomInCommand Returns a command that zooms a displayed document in.
ZoomOutCommand Returns a command that zooms a displayed document out.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPropertyName<T>(Expression<Func<T>>) static Returns the name of a property identified by a lambda expression. Inherited from BindableBase.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs when a property value changes. Inherited from BindableBase.
See Also