-
-
Notifications
You must be signed in to change notification settings - Fork 276
Nodify_Interactivity_KeyComboGesture
Namespace: Nodify.Interactivity
Assembly: Nodify
Inheritance: Object → InputGesture → KeyGesture → KeyComboGesture
Represents a keyboard gesture that requires a trigger key to be held down before pressing a combo key. For example, press and hold Space, then press Left arrow.
public class KeyComboGesture : KeyGesture
Initializes a new instance of the KeyComboGesture class with the specified trigger key, combo key, modifiers, and display string.
public KeyComboGesture(Key triggerKey, Key comboKey);
Parameters
triggerKey
Key: The key that must be pressed first.
comboKey
Key: The combo key pressed while the trigger key is held.
public KeyComboGesture(Key triggerKey, Key comboKey, ModifierKeys modifiers);
Parameters
triggerKey
Key
comboKey
Key
modifiers
ModifierKeys
public KeyComboGesture(Key triggerKey, Key comboKey, ModifierKeys modifiers, string displayString);
Parameters
triggerKey
Key
comboKey
Key
modifiers
ModifierKeys
displayString
String
Gets or sets a value indicating whether the combo key can be repeatedly triggered without releasing the trigger key.
public bool AllowRepeatingComboKey { get; set; }
Property Value
Gets or sets the key that must be pressed first to activate this combo gesture.
public Key TriggerKey { get; set; }
Property Value
public override bool Matches(object targetElement, InputEventArgs inputEventArgs);
Parameters
targetElement
Object
inputEventArgs
InputEventArgs
Returns