Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Resolves the shortcut displayed for an action in this area.

API: engine
Project: Inno.Editor.Interactions

public bool Inno.Editor.Interactions.EditorInteraction.TryGetShortcut(string action, out Inno.Editor.Interactions.HotKeyGesture gesture)

Parameter action: The stable action name.

Parameter gesture: The resolved gesture when successful.

true when a compatible shortcut exists; otherwise, false.

Exception T:System.ArgumentException: Thrown when action is empty.