PopupAnchor Enum

Summary

Defines the edges around an anchor rectangle on 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["PopupAnchor"] class Type type-node

Syntax

[Flags]
public enum PopupAnchor

Attributes

Type Description
FlagsAttribute

Fields

Name Constant Value Summary
AllMask 15
A mask for all flags.
static
Bottom 2
The bottom edge of the anchor rectangle.
static
BottomLeft 6
The bottom-left corner of the anchor rectangle.
static
BottomRight 10
The bottom-right corner of the anchor rectangle.
static
HorizontalMask 12
A mask for the horizontal component flags.
static
Left 4
The left edge of the anchor rectangle.
static
None 0
The center of the anchor rectangle.
static
Right 8
The right edge of the anchor rectangle.
static
Top 1
The top edge of the anchor rectangle.
static
TopLeft 5
The top-left corner of the anchor rectangle.
static
TopRight 9
The top-right corner of the anchor rectangle.
static
VerticalMask 3
A mask for the vertical component flags.
static

Extension Methods