Summary
Defines the placement for a
Popup
control.
- Namespace
- Avalonia
.Controls - 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["PlacementMode"]
class Type type-node
Syntax
public enum PlacementMode
Fields
Name | Constant Value | Summary |
---|---|---|
AnchorAndGravity | 5 |
The popup is placed according to anchor and gravity rules
static
|
Bottom | 1 |
The popup is placed at the bottom left of its target.
static
|
Left | 3 |
The popup is placed at the top left of its target.
static
|
Pointer | 0 |
The popup is placed at the pointer position.
static
|
Right | 2 |
The popup is placed at the top right of its target.
static
|
Top | 4 |
The popup is placed at the top left of its target.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
HasAllFlags |
bool |
From EnumExtensions
|
HasAnyFlag |
bool |
From EnumExtensions
|
HasFlagCustom |
bool |
From EnumExtensions
|