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.
- 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.DragOverlayis placed and sized to.
- FirstScrollableAncestorRect
The nearest
ScrollViewaround the source, its viewport rect; null when there is none.
- Transform
The translate so far: the sensor's, or the previous modifier's result.
- WindowRect
The source panel's root rect.