PopupAnchor Enumeration

Defines the edges around an anchor rectangle on which a popup will open.

Definition

Namespace: Avalonia.Controls.Primitives.PopupPositioning
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
C#
[FlagsAttribute]
public enum PopupAnchor

Members

None0 The center of the anchor rectangle.
Top1 The top edge of the anchor rectangle.
Bottom2 The bottom edge of the anchor rectangle.
VerticalMask3 A mask for the vertical component flags.
Left4 The left edge of the anchor rectangle.
TopLeft5 The top-left corner of the anchor rectangle.
BottomLeft6 The bottom-left corner of the anchor rectangle.
Right8 The right edge of the anchor rectangle.
TopRight9 The top-right corner of the anchor rectangle.
BottomRight10 The bottom-right corner of the anchor rectangle.
HorizontalMask12 A mask for the horizontal component flags.
AllMask15 A mask for all flags.

See Also