Skip to content

KeyboardShortcuts.ActionKeyAction

JaykeBird edited this page Jul 1, 2022 · 5 revisions

Back to home | Back to Reference | View raw text

ActionKeyAction

SolidShineUi.KeyboardShortcuts.ActionKeyAction

A key action that executes an System.Action delegate when activated.

Constructors

ActionKeyAction(System.Action, string, System.Windows.UIElement)

Create a new ActionKeyAction.

Parameters:

action: The action to execute when this key action is activated.

methodId: The unique ID of this key action.

sourceElement: The UI element, if any, this action is related to. For example, it could be a menu item or button that would alternatively trigger this action.

Properties

ID

Get or set the unique ID associated with this key action.

SourceElement

Gets the UI element that this action is related to, if any.

Methods

Execute

Activate this key action.

Clone this wiki locally