Skip to content

Nodify_Interactivity_KeyComboGesture

miroiu edited this page Jun 18, 2025 · 1 revision

KeyComboGesture Class

Namespace: Nodify.Interactivity

Assembly: Nodify

Inheritance: ObjectInputGestureKeyGestureKeyComboGesture

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

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)

public KeyComboGesture(Key triggerKey, Key comboKey, ModifierKeys modifiers);  

Parameters

triggerKey Key

comboKey Key

modifiers ModifierKeys

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

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

Boolean

TriggerKey

Gets or sets the key that must be pressed first to activate this combo gesture.

public Key TriggerKey { get; set; }  

Property Value

Key

Methods

Matches(Object, InputEventArgs)

public override bool Matches(object targetElement, InputEventArgs inputEventArgs);  

Parameters

targetElement Object

inputEventArgs InputEventArgs

Returns

Boolean

Clone this wiki locally