PopupPositionerParametersConstraintAdjustment Property
Specify how the popup should be positioned if the originally intended position caused
the popup to be constrained.
Namespace: Avalonia.Controls.Primitives.PopupPositioningAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public PopupPositionerConstraintAdjustment ConstraintAdjustment {
get;
set; }
Public Property ConstraintAdjustment As PopupPositionerConstraintAdjustment
Get
Set
member ConstraintAdjustment : PopupPositionerConstraintAdjustment with
get, set
Property Value
PopupPositionerConstraintAdjustment
Adjusts the popup position if the intended position caused the popup to be constrained;
meaning at least partially outside positioning boundaries set by the positioner. The
adjustment is set by constructing a bitmask describing the adjustment to be made when
the popup is constrained on that axis.
If no bit for one axis is set, the positioner will assume that the child surface should
not change its position on that axis when constrained.
If more than one bit for one axis is set, the order of how adjustments are applied is
specified in the corresponding adjustment descriptions.
The default adjustment is none.