Skip to main content

AnchorRectangle Property

Specifies the anchor rectangle within the parent that the popup will be placed relative to, in device-independent pixels.

Definition​

Namespace: Avalonia.Controls.Primitives.PopupPositioning
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public Rect AnchorRectangle {
get;
set; }

Property Value​

Rect

Remarks​

The rectangle is relative to the parent geometry and may not extend outside the window geometry of the popup's parent.

See Also​

Reference​

PopupPositionerParameters Structure
Avalonia.Controls.Primitives.PopupPositioning Namespace