Table of Contents

Struct DndModifierArgs

Namespace
Velvet
Assembly
Velvet.Docs.dll

What a DndModifier reads. Every rect is panel space, the source's panel.

public readonly struct DndModifierArgs

Properties

ActivatorCoordinates

Where the pointer pressed; null for a drag no pointer started.

Active
ActiveNodeRect

The source's rect when the drag started.

ContainerNodeRect

The source's parent's rect when the drag started; null for a source with no parent.

DraggingNodeRect

The rect that moves: the source's at the start, which a V.DragOverlay is placed and sized to.

FirstScrollableAncestorRect

The nearest ScrollView around the source, its viewport rect; null when there is none.

Over
Transform

The translate so far: the sensor's, or the previous modifier's result.

WindowRect

The source panel's root rect.