FlyoutPlacementMode FlyoutPlacementMode FlyoutPlacementMode 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
enum class winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode : int32_t
public enum FlyoutPlacementMode
Public Enum FlyoutPlacementMode
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Auto Auto Auto Auto 13
Bottom Bottom Bottom Bottom 1

The preferred location of the flyout is below the target element.

BottomEdgeAlignedLeft BottomEdgeAlignedLeft BottomEdgeAlignedLeft BottomEdgeAlignedLeft 7
BottomEdgeAlignedRight BottomEdgeAlignedRight BottomEdgeAlignedRight BottomEdgeAlignedRight 8
Full Full Full Full 4

The preferred location of the flyout is centered on the screen.

Left Left Left Left 2

The preferred location of the flyout is to the left of the target element.

LeftEdgeAlignedBottom LeftEdgeAlignedBottom LeftEdgeAlignedBottom LeftEdgeAlignedBottom 10
LeftEdgeAlignedTop LeftEdgeAlignedTop LeftEdgeAlignedTop LeftEdgeAlignedTop 9
Right Right Right Right 3

The preferred location of the flyout is to the right of the target element.

RightEdgeAlignedBottom RightEdgeAlignedBottom RightEdgeAlignedBottom RightEdgeAlignedBottom 12
RightEdgeAlignedTop RightEdgeAlignedTop RightEdgeAlignedTop RightEdgeAlignedTop 11
Top Top Top Top 0

The preferred location of the flyout is above the target element.

TopEdgeAlignedLeft TopEdgeAlignedLeft TopEdgeAlignedLeft TopEdgeAlignedLeft 5
TopEdgeAlignedRight TopEdgeAlignedRight TopEdgeAlignedRight TopEdgeAlignedRight 6

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

See also