Interactivity / InputGestureRef
InputGestureRef Class
Section titled “InputGestureRef Class”Namespace: Nodify.Interactivity
Assembly: Nodify
Inheritance: Object → InputGesture → InputGestureRef
References: EditorGestures.ConnectionGestures, EditorGestures.ConnectorGestures, EditorGestures.DirectionalNavigationGestures, EditorCommands, EditorGestures.GroupingNodeGestures, InputGestureRefExtensions, EditorGestures.ItemContainerGestures, NodifyEditorGestures.KeyboardGestures, 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
Properties
Section titled “Properties”The referenced gesture.
public InputGesture Value { 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
Unbind()
Section titled “Unbind()”Unbinds the current gesture.
public void Unbind();