-
-
Notifications
You must be signed in to change notification settings - Fork 230
Nodify_Interactivity_InputGestureRef
miroiu edited this page Dec 23, 2024
·
1 revision
Namespace: Nodify.Interactivity
Assembly: Nodify
Inheritance: Object → InputGesture → InputGestureRef
References: EditorGestures.ConnectionGestures, EditorGestures.ConnectorGestures, EditorCommands, EditorGestures.ItemContainerGestures, EditorGestures.MinimapGestures, EditorGestures.NodifyEditorGestures, EditorGestures.SelectionGestures
An input gesture that allows changing its logic at runtime without changing its reference. Useful for classes that capture the object reference without the posibility of updating it. (e.g. EditorCommands)
public sealed class InputGestureRef : InputGesture
The referenced gesture.
public InputGesture Value { get; set; }
Property Value
public override bool Matches(object targetElement, InputEventArgs inputEventArgs);
Parameters
targetElement
Object
inputEventArgs
InputEventArgs
Returns
Unbinds the current gesture.
public void Unbind();