Class PlacementMode
Inheritance
Namespace: Telerik.XamarinForms.Primitives
Assembly: Telerik.XamarinForms.Primitives.dll
Syntax
public sealed class PlacementMode : Enum
Fields
Bottom
A position of the Popup 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 Popup, the control repositions itself so that its lower edge aligns with the upper edge of the PlacementTarget. If the upper screen-edge obscures the Popup, the control then repositions itself so that its upper edge aligns with the lower edge of the PlacementTarget and constraint its height.
Declaration
public const PlacementMode Bottom
Field Value
PlacementMode
|
Center
A position of the Popup control that aligns at the middle of the PlacementTarget.
Declaration
public const PlacementMode Center
Field Value
PlacementMode
|
Left
A Popup 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 Popup, the Popup repositions itself so that its left edge aligns with the right edge of the PlacementTarget. If the right screen-edge obscures the Popup, the right edge of the control aligns with the left edge of the PlacementTarget and constrain its width.
Declaration
public const PlacementMode Left
Field Value
PlacementMode
|
Relative
A position of the Popup 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
public const PlacementMode Relative
Field Value
PlacementMode
|
Right
A position of the Popup 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 Popup, the control repositions itself so that its left edge aligns with the left edge of the PlacementTarget. If the left screen-edge obscures the Popup, the control repositions itself so that its left edge aligns with the right edge of the PlacementTarget and constrain its width.
Declaration
public const PlacementMode Right
Field Value
PlacementMode
|
Top
A position of the Popup 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 Popup, the control repositions itself so that its upper edge aligns with the lower edge of the PlacementTarget. If the lower screen-edge obscures the Popup, the lower edge of the control aligns with the upper edge of the PlacementTarget and constrain its height.
Declaration
public const PlacementMode Top
Field Value
PlacementMode
|
value__
Declaration
public int value__
Field Value
System.Int32
|