Table of Contents

Field ClosestCenter

Namespace
Velvet
Assembly
Velvet.Docs.dll

Droppable whose center is nearest ActiveRect's center wins — the forgiving strategy sortable lists and coarse grids want. Every candidate collides by definition, so this never returns null while any candidate exists.

public static readonly DndCollisionDetection ClosestCenter

Returns

DndCollisionDetection
Droppable whose center is nearest ActiveRect's center wins — the forgiving strategy sortable lists and coarse grids want. Every candidate collides by definition, so this never returns null while any candidate exists.