Skip to main content

PopupAnchor Enum

Definition

Assembly:Avalonia.Controls
Package:Avalonia

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

public enum PopupAnchor

Inheritance: Enum -> PopupAnchor

Fields

NameDescription
AllMaskA mask for all flags.
BottomThe bottom edge of the anchor rectangle.
BottomLeftThe bottom-left corner of the anchor rectangle.
BottomRightThe bottom-right corner of the anchor rectangle.
HorizontalMaskA mask for the horizontal component flags.
LeftThe left edge of the anchor rectangle.
NoneThe center of the anchor rectangle.
RightThe right edge of the anchor rectangle.
TopThe top edge of the anchor rectangle.
TopLeftThe top-left corner of the anchor rectangle.
TopRightThe top-right corner of the anchor rectangle.
VerticalMaskA mask for the vertical component flags.

AllMask Field

A mask for all flags.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor AllMask

Bottom Field

The bottom edge of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor Bottom

BottomLeft Field

The bottom-left corner of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor BottomLeft

BottomRight Field

The bottom-right corner of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor BottomRight

HorizontalMask Field

A mask for the horizontal component flags.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor HorizontalMask

Left Field

The left edge of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor Left

None Field

The center of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor None

Right Field

The right edge of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor Right

Top Field

The top edge of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor Top

TopLeft Field

The top-left corner of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor TopLeft

TopRight Field

The top-right corner of the anchor rectangle.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor TopRight

VerticalMask Field

A mask for the vertical component flags.

public Avalonia.Controls.Primitives.PopupPositioning.PopupAnchor VerticalMask