Interactivity / KeyComboGesture
KeyComboGesture Class
Section titled “KeyComboGesture Class”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
Constructors
Section titled “Constructors”KeyComboGesture(Key, Key)
Section titled “KeyComboGesture(Key, Key)”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.
KeyComboGesture(Key, Key, ModifierKeys)
Section titled “KeyComboGesture(Key, Key, ModifierKeys)”public KeyComboGesture(Key triggerKey, Key comboKey, ModifierKeys modifiers);
Parameters
triggerKey
Key
comboKey
Key
modifiers
ModifierKeys
KeyComboGesture(Key, Key, ModifierKeys, String)
Section titled “KeyComboGesture(Key, Key, ModifierKeys, String)”public KeyComboGesture(Key triggerKey, Key comboKey, ModifierKeys modifiers, string displayString);
Parameters
triggerKey
Key
comboKey
Key
modifiers
ModifierKeys
displayString
String
Properties
Section titled “Properties”AllowRepeatingComboKey
Section titled “AllowRepeatingComboKey”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
TriggerKey
Section titled “TriggerKey”Gets or sets the key that must be pressed first to activate this combo gesture.
public Key TriggerKey { get; set; }
Property Value
Methods
Section titled “Methods”Matches(Object, InputEventArgs)
Section titled “Matches(Object, InputEventArgs)”public override bool Matches(object targetElement, InputEventArgs inputEventArgs);
Parameters
targetElement
Object
inputEventArgs
InputEventArgs
Returns