Summary
Defines the direction in which a popup will open.
- Namespace
- Avalonia
.Controls .Primitives .PopupPositioning - Interfaces
-
- IComparable
- IFormattable
- IConvertible
- Base Types
-
- object
- ValueType
- Enum
graph BT
Type-->Base0["Enum"]
Base0-->Base1["ValueType"]
Base1-->Base2["object"]
Type-.->Interface0["IComparable"]
Type-.->Interface1["IFormattable"]
Type-.->Interface2["IConvertible"]
Type["PopupGravity"]
class Type type-node
Syntax
[Flags]
public enum PopupGravity
Attributes
Type | Description |
---|---|
FlagsAttribute |
Fields
Name | Constant Value | Summary |
---|---|---|
Bottom | 2 |
The popup will be positioned below the anchor edge
static
|
BottomLeft | 6 |
The popup will be positioned to the bottom-left of the anchor edge
static
|
BottomRight | 10 |
The popup will be positioned to the bottom-right of the anchor edge
static
|
Left | 4 |
The popup will be positioned to the left of the anchor edge
static
|
None | 0 |
The popup will be centered over the anchor edge.
static
|
Right | 8 |
The popup will be positioned to the right of the anchor edge
static
|
Top | 1 |
The popup will be positioned above the anchor edge
static
|
TopLeft | 5 |
The popup will be positioned to the top-left of the anchor edge
static
|
TopRight | 9 |
The popup will be positioned to the top-right of the anchor edge
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
HasAllFlags |
bool |
From EnumExtensions
|
HasAnyFlag |
bool |
From EnumExtensions
|
HasFlagCustom |
bool |
From EnumExtensions
|