Enum PopupAnchor
- Namespace
- Avalonia.Controls.Primitives.PopupPositioning
- Assembly
- Avalonia.Controls.dll
Defines the edges around an anchor rectangle on which a popup will open.
[Flags]
public enum PopupAnchor
Fields
AllMask = VerticalMask | HorizontalMask
A mask for all flags.
Bottom = 2
The bottom edge of the anchor rectangle.
BottomLeft = Bottom | Left
The bottom-left corner of the anchor rectangle.
BottomRight = Bottom | Right
The bottom-right corner of the anchor rectangle.
HorizontalMask = Left | Right
A mask for the horizontal component flags.
Left = 4
The left edge of the anchor rectangle.
None = 0
The center of the anchor rectangle.
Right = 8
The right edge of the anchor rectangle.
Top = 1
The top edge of the anchor rectangle.
TopLeft = Top | Left
The top-left corner of the anchor rectangle.
TopRight = Top | Right
The top-right corner of the anchor rectangle.
VerticalMask = Top | Bottom
A mask for the vertical component flags.