Anchor Property
Defines the anchor point for the anchor rectangle.
Definition
Namespace: Avalonia.Controls.Primitives.PopupPositioning
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public PopupAnchor Anchor { get; set; }
Public Property Anchor As PopupAnchor
Get
Set
member Anchor : PopupAnchor with get, set
Property Value
PopupAnchorRemarks
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.
See Also
Reference
PopupPositionerParameters Structure
Avalonia.Controls.Primitives.PopupPositioning Namespace