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)
- C#
- VB
- F#
[FlagsAttribute]
public enum PopupAnchor
<FlagsAttribute>
Public Enumeration PopupAnchor
[<FlagsAttribute>]
type PopupAnchor
Members
None | 0 | The center of the anchor rectangle. |
Top | 1 | The top edge of the anchor rectangle. |
Bottom | 2 | The bottom edge of the anchor rectangle. |
VerticalMask | 3 | A mask for the vertical component flags. |
Left | 4 | The left edge of the anchor rectangle. |
TopLeft | 5 | The top-left corner of the anchor rectangle. |
BottomLeft | 6 | The bottom-left corner of the anchor rectangle. |
Right | 8 | The right edge of the anchor rectangle. |
TopRight | 9 | The top-right corner of the anchor rectangle. |
BottomRight | 10 | The bottom-right corner of the anchor rectangle. |
HorizontalMask | 12 | A mask for the horizontal component flags. |
AllMask | 15 | A mask for all flags. |