Interface ICamApiHotkey
A single global keyboard shortcut binding. The shortcut identifies the binding and is fixed at creation; to re-bind, create a new hotkey carrying the same OnExecute and replace the old one.
Namespace: CAMAPI.ApplicationMainForm
Assembly: CAMAPI.ApplicationMainForm.dll
Syntax
[Guid("3F7C1A92-8D4B-4E60-A5F1-2C9B6D0E83A7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiHotkey
Properties
Caption
Human-readable label of the binding.
Declaration
string Caption { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Enabled
When false the binding is kept but not dispatched.
Declaration
bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsReserved
True for a host-reserved binding harvested from a native application shortcut; such entries surface in conflict lookups but cannot be removed.
Declaration
bool IsReserved { get; }
Property Value
| Type | Description |
|---|---|
| bool |
OnExecute
Handler fired when the shortcut is pressed.
Declaration
ICamApiHotkeyOnExecute OnExecute { get; set; }
Property Value
| Type | Description |
|---|---|
| ICamApiHotkeyOnExecute |
Shortcut
Key chord in Delphi text form (e.g. "Ctrl+Shift+K"). Read-only identity.
Declaration
string Shortcut { get; }
Property Value
| Type | Description |
|---|---|
| string |