Skip to main content

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)

[FlagsAttribute]
public enum PopupAnchor

Members

None0The center of the anchor rectangle.
Top1The top edge of the anchor rectangle.
Bottom2The bottom edge of the anchor rectangle.
VerticalMask3A mask for the vertical component flags.
Left4The left edge of the anchor rectangle.
TopLeft5The top-left corner of the anchor rectangle.
BottomLeft6The bottom-left corner of the anchor rectangle.
Right8The right edge of the anchor rectangle.
TopRight9The top-right corner of the anchor rectangle.
BottomRight10The bottom-right corner of the anchor rectangle.
HorizontalMask12A mask for the horizontal component flags.
AllMask15A mask for all flags.

See Also

Reference

Avalonia.Controls.Primitives.PopupPositioning Namespace