Skip to content
MenuPlacement

UI / MenuPlacement

MenuPlacement Enumeration ​

Menu call out position enumeration

Table of contents ​

Enumeration Members ​

AboveAnchor = 6
AboveRightAnchor = 8
BelowAnchor = 0
BelowRightAnchor = 2
Center = 10
CenteredAboveAnchor = 7
CenteredBelowAnchor = 1
ComboBox = 3
ComboBoxRight = 4
MatchBottomLeft = 12
MenuLeft = 9
MenuRight = 5
MousePosition = 13
RightLeftCenter = 11

Enumeration Members ​

AboveAnchor ​

• AboveAnchor = 6

Place the menu directly above the anchor without transition effect


AboveRightAnchor ​

• AboveRightAnchor = 8

Place the menu above the anchor, and the anchor is align with the right side of the content


BelowAnchor ​

• BelowAnchor = 0

Place the menu directly below the anchor point


BelowRightAnchor ​

• BelowRightAnchor = 2

Place the menu directly below the anchor point, aligning the anchor point with the right side of the content


Center ​

• Center = 10

Place the center of the menu above the center of the menu anchor


CenteredAboveAnchor ​

• CenteredAboveAnchor = 7

Place the menu directly above the anchor, without transition effect


CenteredBelowAnchor ​

• CenteredBelowAnchor = 1

Place the menu in the center of the anchor point


ComboBox ​

• ComboBox = 3

Place the menu directly below the anchor, and matchmaking its width with the anchor content


ComboBoxRight ​

• ComboBoxRight = 4

Place the menu directly below the anchor and matchmaking its width with the anchor content. Align with the right edge of the anchor if the width overflow


MatchBottomLeft ​

• MatchBottomLeft = 12

Place the lower left corner of the menu directly above the lower left corner of the menu anchor


• MenuLeft = 9

Place the menu to the left of the anchor point


• MenuRight = 5

Place the menu to the right of the anchor point


MousePosition ​

• MousePosition = 13

Mouse position


RightLeftCenter ​

• RightLeftCenter = 11

Place the vertical center of the menu on the left and the vertical center of the menu anchor on the right