Table of Contents

Class DndContextState

Namespace
Velvet
Assembly
Velvet.Docs.dll

What Hooks.UseDndContext returns: the drag the nearest V.DndContext holds, dnd-kit's public context. Active is null while no drag is active; ActiveNodeRect is the source's rect at activation, panel space.

public sealed record DndContextState
Inheritance
object
DndContextState

Constructors

DndContextState(DraggableInfo?, DroppableInfo?, IReadOnlyList<DndCollision>, Rect?)

What Hooks.UseDndContext returns: the drag the nearest V.DndContext holds, dnd-kit's public context. Active is null while no drag is active; ActiveNodeRect is the source's rect at activation, panel space.

Fields

Idle

No drag active.

Properties

Active
ActiveNodeRect
Collisions
Over