-
-
Notifications
You must be signed in to change notification settings - Fork 230
Nodify_Interactivity_DragState_TElement_
miroiu edited this page Dec 23, 2024
·
1 revision
Namespace: Nodify.Interactivity
Assembly: Nodify
Inheritance: Object → InputElementState<TElement> → DragState<TElement>
public abstract class DragState<TElement> : InputElementState<TElement>
public DragState<TElement>(TElement element, InputGesture beginGesture);
Parameters
element
TElement
beginGesture
InputGesture
public DragState<TElement>(TElement element, InputGesture beginGesture, InputGesture cancelGesture);
Parameters
element
TElement
beginGesture
InputGesture
cancelGesture
InputGesture
protected InputGesture BeginGesture { get; set; }
Property Value
protected virtual bool CanBegin { get; set; }
Property Value
protected virtual bool CanCancel { get; set; }
Property Value
protected InputGesture CancelGesture { get; set; }
Property Value
protected virtual bool HasContextMenu { get; set; }
Property Value
protected virtual bool IsToggle { get; set; }
Property Value
protected IInputElement PositionElement { get; set; }
Property Value
protected virtual bool CanCaptureInput(InputEventArgs e);
Parameters
Returns
protected virtual void CaptureInput(InputEventArgs e);
Parameters
protected virtual Point GetInitialPosition(InputEventArgs e);
Parameters
Returns
protected virtual bool IsInputCaptureLost(InputEventArgs e);
Parameters
Returns
protected virtual bool IsInputEventPressed(InputEventArgs e);
Parameters
Returns
protected virtual bool IsInputEventReleased(InputEventArgs e);
Parameters
Returns
protected virtual void OnBegin(InputEventArgs e);
Parameters
protected virtual void OnCancel(InputEventArgs e);
Parameters
protected virtual void OnEnd(InputEventArgs e);
Parameters