Popup is an overlay surface used for dropdowns, context menus, and lightweight transient UI.
Popups close when focus is lost or when the user clicks outside (depending on configuration).

Popups can be positioned relative to:
Popup.Anchor), orPopup.AnchorRect).AnchorRect is primarily used for point-based popups such as context menus (right-click), where there is no natural anchor
visual to align to.
Select<T> uses a popup for its dropdown list.ContextMenu uses a popup anchored to the click position.SearchReplacePopup uses a popup-like overlay anchored within an editor.Popups participate in focus. Common dismissal patterns:
Escape,Interactive popups save the currently focused control when shown and restore it on close. This keeps dropdowns, context menus, search popups, and similar overlays consistent without each caller having to manage focus manually.
HorizontalAlignment = Align.Start, VerticalAlignment = Align.Start