Table of Contents

Interface IScaffoldPopupPlacer

Namespace
Nalu
Assembly
Nalu.Maui.Scaffold.dll

Full custom popup placement: receives the safe presentation area, the measured content size and the anchor bounds (when an anchor was provided), all in scaffold device-independent coordinates, and returns the popup rectangle.

public interface IScaffoldPopupPlacer

Methods

Place(Rect, Size, Rect?)

Computes the popup rectangle. The returned rectangle is used as-is — the placer owns any clamping.

Rect Place(Rect area, Size contentSize, Rect? anchorBounds)

Parameters

area Rect

The safe presentation area (system insets and Margin already excluded; chrome ignored).

contentSize Size

The measured content size (already constrained to the area).

anchorBounds Rect?

The anchor bounds when Anchor is set.

Returns

Rect