PopupPlacementRect Property
Gets or sets the anchor rectangle within the parent that the popup will be placed
relative to when
Placement is
AnchorAndGravity.
Namespace: Avalonia.Controls.PrimitivesAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Rect? PlacementRect { get; set; }
Public Property PlacementRect As Rect?
Get
Set
member PlacementRect : Nullable<Rect> with get, set
Property Value
NullableRect
The placement rect defines a rectangle relative to
PlacementTarget around
which the popup will be opened, with
PlacementAnchor determining which edge
of the placement target is used.
If unset, the anchor rectangle will be the bounds of the
PlacementTarget.