Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Associates an editor action with a keyboard shortcut.

API: engine
Inherits: System.Attribute
Project: Inno.Editor.Interactions

public sealed class Inno.Editor.Interactions.EditorShortcutAttribute : System.Attribute
Kind Element Description
Constructors EditorShortcutAttribute.Constructor(Inno.Core.Input.KeyCode,Inno.Core.Input.KeyModifier,System.Boolean) Creates a shortcut that can be dispatched from any focused interaction surface.
Constructors EditorShortcutAttribute.Constructor(System.String,Inno.Core.Input.KeyCode,Inno.Core.Input.KeyModifier,System.Boolean) Creates a shortcut scoped to an exact interaction area.
Properties EditorShortcutAttribute.area Gets the optional exact interaction area.
Properties EditorShortcutAttribute.key Gets the shortcut key.
Properties EditorShortcutAttribute.modifiers Gets additional shortcut modifiers.
Properties EditorShortcutAttribute.primary Gets whether the platform primary modifier is required.