OverlayPlacement enum Core
Where an overlay opens relative to its anchor rect/point.
public enum OverlayPlacement
- Namespace
- ArionUI.Presentation.Overlay
- Package
- ArionUI.Presentation ·
dotnet add package ArionUI.Presentation --prerelease
Values
| Name | Value | Description |
|---|---|---|
BelowStart |
0 |
Below the anchor, left edges aligned (a dropdown). |
BelowEnd |
1 |
Below the anchor, right edges aligned. |
RightStart |
2 |
To the right of the anchor, tops aligned (a submenu). |
Cursor |
3 |
At the anchor point (a context menu at the cursor). |
Center |
4 |
Centred in the viewport, ignoring the anchor — a command palette (Ctrl+K quick search) rather than a dropdown. |
