Skip to content

Latest commit

 

History

History
103 lines (55 loc) · 2.72 KB

flyoutplacementmode.md

File metadata and controls

103 lines (55 loc) · 2.72 KB
-api-id -api-type
T:Windows.UI.Xaml.Controls.Primitives.FlyoutPlacementMode
winrt enum

FlyoutPlacementMode

-description

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

-enum-fields

-field Top:0

Preferred location is above the target element.

-field Bottom:1

Preferred location is below the target element.

-field Left:2

Preferred location is to the left of the target element.

-field Right:3

Preferred location is to the right of the target element.

-field Full:4

Preferred location is centered on the screen.

-field BottomEdgeAlignedLeft:7

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

-field BottomEdgeAlignedRight:8

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

-field 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.

-field 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.

-field 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.

-field 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.

-field TopEdgeAlignedLeft:5

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

-field TopEdgeAlignedRight:6

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

-field 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

-examples

-see-also

FlyoutBase.Placement, Flyout, MenuFlyout