Summary
Defines the anchor point for the anchor rectangle.
- Namespace
- Avalonia
.Controls .Primitives .PopupPositioning - Containing Type
- Popup
Positioner Parameters
Syntax
public PopupAnchor Anchor { get; set; }
Remarks
The specified anchor is used derive an anchor point that the popup will be positioned
relative to. If a corner anchor is set (e.g. 'TopLeft' or 'BottomRight'), the anchor
point will be at the specified corner; otherwise, the derived anchor point will be
centered on the specified edge, or in the center of the anchor rectangle if no edge is
specified.
Value
Type | Description |
---|---|
PopupAnchor |