Skip to content

Nodify_Interactivity_InputGestureRef

miroiu edited this page Dec 23, 2024 · 1 revision

InputGestureRef Class

Namespace: Nodify.Interactivity

Assembly: Nodify

Inheritance: ObjectInputGestureInputGestureRef

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  

Properties

Value

The referenced gesture.

public InputGesture Value { get; set; }  

Property Value

InputGesture

Methods

Matches(Object, InputEventArgs)

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

Parameters

targetElement Object

inputEventArgs InputEventArgs

Returns

Boolean

Unbind()

Unbinds the current gesture.

public void Unbind();  
Clone this wiki locally