Dela via


FlyoutPlacementMode Enum

Definition

Defines constants that specify the preferred location for positioning a FlyoutBase derived control relative to a visual element.

public enum class FlyoutPlacementMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FlyoutPlacementMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FlyoutPlacementMode
Public Enum FlyoutPlacementMode
Inheritance
FlyoutPlacementMode
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Top 0

Preferred location is above the target element.

Bottom 1

Preferred location is below the target element.

Left 2

Preferred location is to the left of the target element.

Right 3

Preferred location is to the right of the target element.

Full 4

Preferred location is centered on the screen.

TopEdgeAlignedLeft 5

Preferred location is above the target element, with the left edge of flyout aligned with left edge of the target element.

TopEdgeAlignedRight 6

Preferred location is above the target element, with the right edge of flyout aligned with right edge of the target element.

BottomEdgeAlignedLeft 7

Preferred location is below the target element, with the left edge of flyout aligned with left edge of the target element.

BottomEdgeAlignedRight 8

Preferred location is below the target element, with the right edge of flyout aligned with right edge of the target element.

LeftEdgeAlignedTop 9

Preferred location is to the left of the target element, with the top edge of flyout aligned with top edge of the target element.

LeftEdgeAlignedBottom 10

Preferred location is to the left of the target element, with the bottom edge of flyout aligned with bottom edge of the target element.

RightEdgeAlignedTop 11

Preferred location is to the right of the target element, with the top edge of flyout aligned with top edge of the target element.

RightEdgeAlignedBottom 12

Preferred location is to the right of the target element, with the bottom edge of flyout aligned with bottom edge of the target element.

Auto 13

Preferred location is determined automatically.

Remarks

Version history

Windows version SDK version Value added
1809 17763 Auto
1809 17763 BottomEdgeAlignedLeft
1809 17763 BottomEdgeAlignedRight
1809 17763 LeftEdgeAlignedBottom
1809 17763 LeftEdgeAlignedTop
1809 17763 RightEdgeAlignedBottom
1809 17763 RightEdgeAlignedTop
1809 17763 TopEdgeAlignedLeft
1809 17763 TopEdgeAlignedRight

Applies to

See also