Version 3.2.0.0

DragAndDropManager class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public static class DragAndDropManager

This class is due to undergo refactoring. Use the new DragAndDropUtilities instead.

Inheritance
  • System.Object
  • DragAndDropManager

Fields

AllowDrop
Not yet documented.
public static bool AllowDrop

Properties

CurrentDraggingHandle
Not yet documented.
public static DragHandle CurrentDraggingHandle { get; }
CurrentHoveringDropZone
Not yet documented.
public static DropZoneHandle CurrentHoveringDropZone { get; }
IsDragInProgress
Not yet documented.
public static bool IsDragInProgress { get; }
IsHoveringDropZone
Not yet documented.
public static bool IsHoveringDropZone { get; }

Methods

BeginDragHandle(Object, Object, DragAndDropMethods)
Not yet documented.
public static DragHandle BeginDragHandle(object key, object obj, DragAndDropMethods defaultMethod = DragAndDropMethods.Move)
Parameters
System.Object key

System.Object obj

DragAndDropMethods defaultMethod

Returns
DragHandle

BeginDragHandle(Object, Object, Boolean, DragAndDropMethods)
Not yet documented.
public static DragHandle BeginDragHandle(object key, object obj, bool isVirtualDragHandle, DragAndDropMethods defaultMethod = DragAndDropMethods.Move)
Parameters
System.Object key

System.Object obj

System.Boolean isVirtualDragHandle

DragAndDropMethods defaultMethod

Returns
DragHandle

BeginDropZone(Object, Type, Boolean)
Not yet documented.
public static DropZoneHandle BeginDropZone(object key, Type type, bool canAcceptMove)
Parameters
System.Object key

System.Type type

System.Boolean canAcceptMove

Returns
DropZoneHandle

BeginDropZone<T>(Object)
Not yet documented.
public static DropZoneHandle BeginDropZone<T>(object key)
    where T : struct
Parameters
System.Object key

Returns
DropZoneHandle

Type Parameters
T

BeginDropZone<T>(Object, Boolean)
Not yet documented.
public static DropZoneHandle BeginDropZone<T>(object key, bool canAcceptMove)
    where T : class
Parameters
System.Object key

System.Boolean canAcceptMove

Returns
DropZoneHandle

Type Parameters
T

EndDragHandle()
Not yet documented.
public static DragHandle EndDragHandle()
Returns
DragHandle

EndDropZone()
Not yet documented.
public static DropZoneHandle EndDropZone()
Returns
DropZoneHandle