IReorderableListDropTarget Interface

Rotorz ReorderableList

IReorderableListDropTarget Interface
Can be implemented along with IReorderableListAdaptor when drop insertion or ordering is desired.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
public interface IReorderableListDropTarget
public interface IReorderableListDropTarget

The IReorderableListDropTarget type exposes the following members.

Methods
  NameDescription
Public methodCanDropInsert
Determines whether an item is being dragged and that it can be inserted or moved by dropping somewhere into the reorderable list control.
Public methodProcessDropInsertion
Processes the current drop insertion operation when CanDropInsert(Int32) returns a value of true to process, accept or cancel.
Top
Remarks

This type of "drop" functionality can occur when the "drag" phase of the drag and drop operation was initiated elsewhere. For example, a custom IReorderableListAdaptor could insert entirely new items by dragging and dropping from the Unity "Project" window.

See Also