DragVisual record struct Core

Transient drag overlay (column reorder / drag-to-group): a floating ghost of the dragged caption at the cursor + a drop indicator. All in VIEWPORT pixels (the host computes them), so the renderer just paints them on top. DragVisual.DropLineX = insertion line x (NaN = none); DragVisual.DropRect = a highlighted drop zone, e.g. the group panel (empty = none).

public readonly record struct DragVisual
Namespace
ArionUI.Grid
Package
ArionUI.Grid · dotnet add package ArionUI.Grid --prerelease

Constructors

DragVisual

public DragVisual(string Label, double GhostX, double GhostY, double DropLineX, LogRect DropRect, string DropZoneText = "", LogRect SourceRect = default, double ZoneFade = 1);

Transient drag overlay (column reorder / drag-to-group): a floating ghost of the dragged caption at the cursor + a drop indicator. All in VIEWPORT pixels (the host computes them), so the renderer just paints them on top. DragVisual.DropLineX = insertion line x (NaN = none); DragVisual.DropRect = a highlighted drop zone, e.g. the group panel (empty = none).

Properties

DropLineX

public double DropLineX { get; init; }

DropRect

public LogRect DropRect { get; init; }

DropZoneText

public string DropZoneText { get; init; }

GhostX

public double GhostX { get; init; }

GhostY

public double GhostY { get; init; }

Label

public string Label { get; init; }

SourceRect

public LogRect SourceRect { get; init; }

ZoneFade

public double ZoneFade { get; init; }