Class DragHandlers
Handles a list of DragHelper<T, U>s
Namespace: FlaxEditor.GUI.Drag
Assembly: FlaxEngine.CSharp.dll
Syntax
public class DragHandlers : List<DragHelper>
Constructors
DragHandlers()
Declaration
public DragHandlers()
Properties
Effect
Gets the valid drag effect to use.
Declaration
public DragDropEffect Effect { get; }
Property Value
DragDropEffect
|
HasValidDrag
Determines whether has valid drag handler to handle the drag request.
Declaration
public bool HasValidDrag { get; }
Property Value
System.Boolean
|
Methods
OnDragDrop(DragEventArgs)
Called when drag drops.
Declaration
public void OnDragDrop(DragEventArgs dragEventArgs)
Parameters
DragEventArgs
dragEventArgs
The DragEventArgs instance containing the event data. |
OnDragEnter(DragData)
Called when drag enter.
Declaration
public DragDropEffect OnDragEnter(DragData data)
Parameters
DragData
data
The data. |
Returns
DragDropEffect
The result. |
OnDragLeave()
Called when drag leaves.
Declaration
public void OnDragLeave()
WithValidDrag()
Gets the first valid drag helper.
Declaration
public DragHelper WithValidDrag()
Returns
FlaxEditor.GUI.Drag.DragHelper
The drag helper. |