[]
Represents a keyboard shortcut that triggers a specific command within the viewer.
public sealed class ViewerShortcut
This class encapsulates the information necessary to define a keyboard shortcut for a viewer command, including the keys that must be pressed, the command to be executed, and whether the shortcut is currently enabled. It is designed for internal use within the viewer to manage keyboard interactions efficiently.
Name | Description |
---|---|
Keys | Gets the keys that must be pressed to trigger the command. |
ViewerCommand | Gets the viewer command associated with the shortcut. |