-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.Controls.Primitives.PopupPlacementMode |
winrt enum |
Defines constants that specify the preferred location for positioning a popup relative to a visual element.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
Preferred location is determined automatically.
Preferred location is above the target element.
Preferred location is below the target element.
Preferred location is to the left of the target element.
Preferred location is to the right of the target element.
Preferred location is above the target element, with the left edge of popup aligned with left edge of the target element.
Preferred location is above the target element, with the right edge of popup aligned with right edge of the target element.
Preferred location is below the target element, with the left edge of popup aligned with left edge of the target element.
Preferred location is below the target element, with the right edge of popup aligned with right edge of the target element.
Preferred location is to the left of the target element, with the top edge of popup aligned with top edge of the target element.
Preferred location is to the left of the target element, with the bottom edge of popup aligned with bottom edge of the target element.
Preferred location is to the right of the target element, with the top edge of popup aligned with top edge of the target element.
Preferred location is to the right of the target element, with the bottom edge of popup aligned with bottom edge of the target element.