Nodify_Interactivity_InputGestureRef - miroiu/nodify GitHub Wiki
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();