EnumPlacementMode
Specifies the placement mode for a RadPopup control relative to its placement target.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public enum PlacementMode
Fields
Bottom
A position of the RadPopup control where the control aligns its upper edge with the lower edge of the PlacementTarget and aligns its left edge with the left edge of the PlacementTarget. If the lower screen-edge obscures the RadPopup, the control repositions itself so that its lower edge aligns with the upper edge of the PlacementTarget. If the upper screen-edge obscures the RadPopup, the control then repositions itself so that its upper edge aligns with the lower edge of the PlacementTarget and constraint its height.
Left
A RadPopup control that aligns its right edge with the left edge of the PlacementTarget and aligns its upper edge with the upper edge of the PlacementTarget. If the left screen-edge obscures the RadPopup, the RadPopup repositions itself so that its left edge aligns with the right edge of the PlacementTarget. If the right screen-edge obscures the RadPopup, the right edge of the control aligns with the left edge of the PlacementTarget and constrain its width.
Relative
A position of the RadPopup control that aligns the top left corner of the popup with the top left corner of the placement target with the horizontal and vertical offset considered in the calculations.
Right
A position of the RadPopup control that aligns its left edge with the right edge of the PlacementTarget and aligns its upper edge with the upper edge of the PlacementTarget. If the right screen-edge obscures the RadPopup, the control repositions itself so that its left edge aligns with the left edge of the PlacementTarget. If the left screen-edge obscures the RadPopup, the control repositions itself so that its left edge aligns with the right edge of the PlacementTarget and constrain its width.
Top
A position of the RadPopup control that aligns its lower edge with the upper edge of the PlacementTarget and aligns its left edge with the left edge of the PlacementTarget. If the upper screen-edge obscures the RadPopup, the control repositions itself so that its upper edge aligns with the lower edge of the PlacementTarget. If the lower screen-edge obscures the RadPopup, the lower edge of the control aligns with the upper edge of the PlacementTarget and constrain its height.