Constructor DndContextSettings
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
DndContextSettings(Action<DragStartArgs>?, Action<DragOverArgs>?, Action<DragEndArgs>?, Action<DragCancelArgs>?, DndCollisionDetection?, DragActivation?)
Drag-and-drop scope configuration. All callbacks are optional; CollisionDetection null means RectIntersection; Activation is the scope-wide default a per-draggable override wins over.
public DndContextSettings(Action<DragStartArgs>? OnDragStart = null, Action<DragOverArgs>? OnDragOver = null, Action<DragEndArgs>? OnDragEnd = null, Action<DragCancelArgs>? OnDragCancel = null, DndCollisionDetection? CollisionDetection = null, DragActivation? Activation = null)
Parameters
OnDragStartAction<DragStartArgs>OnDragOverAction<DragOverArgs>OnDragEndAction<DragEndArgs>OnDragCancelAction<DragCancelArgs>CollisionDetectionDndCollisionDetectionActivationDragActivation