Enum
PlacementMode

Specifies the placement mode for a RadPopup control relative to its placement target.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
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.

Declaration

cs-api-definition
Bottom = 0

Field Value

PlacementMode

Center

A position of the RadPopup control that aligns at the middle of the PlacementTarget.

Declaration

cs-api-definition
Center = 4

Field Value

PlacementMode

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.

Declaration

cs-api-definition
Left = 2

Field Value

PlacementMode

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.

Declaration

cs-api-definition
Relative = 5

Field Value

PlacementMode

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.

Declaration

cs-api-definition
Right = 1

Field Value

PlacementMode

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.

Declaration

cs-api-definition
Top = 3

Field Value

PlacementMode

In this article
DefinitionFieldsBottomCenterLeftRelativeRightTop
Not finding the help you need?
Contact Support