Skip to content

Interactivity / InputGestureRef

Namespace: Nodify.Interactivity

Assembly: Nodify

Inheritance: ObjectInputGestureInputGestureRef

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

The referenced gesture.

public InputGesture Value { get; set; }

Property Value

InputGesture

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

Parameters

targetElement Object

inputEventArgs InputEventArgs

Returns

Boolean

Unbinds the current gesture.

public void Unbind();