Skip to content

KeyboardShortcuts.IKeyAction

JaykeBird edited this page Feb 21, 2023 · 4 revisions

Back to home | Back to Reference | View raw text

IKeyAction interface

Description

The interface which all key actions are based on.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SolidShineUi.KeyboardShortcuts
  SolidShineUi.KeyboardShortcuts.IKeyAction[[IKeyAction]]
  class SolidShineUi.KeyboardShortcuts.IKeyAction interfaceStyle;
  end
Loading

Members

Properties

Public properties

Type Name Methods
string ID
Get or set the unique ID associated with this key action.
get, set
UIElement SourceElement
Get the UI element associated with the key action's activator, if any.
get

Methods

Public methods

Returns Name
void Execute()
Execute this key action.

Details

Summary

The interface which all key actions are based on.

Methods

Execute

public void Execute()
Summary

Execute this key action.

Properties

ID

public string ID { get; set; }
Summary

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

SourceElement

public UIElement SourceElement { get; }
Summary

Get the UI element associated with the key action's activator, if any.

Generated with ModularDoc

Clone this wiki locally