Table of Contents

Class DndContextSettings

Namespace
Velvet
Assembly
Velvet.Docs.dll

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 sealed record DndContextSettings
Inheritance
object
DndContextSettings

Constructors

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.

Properties

Activation
CollisionDetection
OnDragCancel
OnDragEnd
OnDragOver
OnDragStart