PopupGravity Enumeration
Defines the direction in which a popup will open.
Namespace: Avalonia.Controls.Primitives.PopupPositioningAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
[FlagsAttribute]
public enum PopupGravity
<FlagsAttribute>
Public Enumeration PopupGravity
[<FlagsAttribute>]
type PopupGravity
| None | 0 |
The popup will be centered over the anchor edge.
|
| Top | 1 |
The popup will be positioned above the anchor edge
|
| Bottom | 2 |
The popup will be positioned below the anchor edge
|
| Left | 4 |
The popup will be positioned to the left of the anchor edge
|
| TopLeft | 5 |
The popup will be positioned to the top-left of the anchor edge
|
| BottomLeft | 6 |
The popup will be positioned to the bottom-left of the anchor edge
|
| Right | 8 |
The popup will be positioned to the right of the anchor edge
|
| TopRight | 9 |
The popup will be positioned to the top-right of the anchor edge
|
| BottomRight | 10 |
The popup will be positioned to the bottom-right of the anchor edge
|