ConstraintAdjustment Property
Specify how the popup should be positioned if the originally intended position caused the popup to be constrained.
Definition
Namespace: Avalonia.Controls.Primitives.PopupPositioning
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public PopupPositionerConstraintAdjustment ConstraintAdjustment {
get;
set; }
Public Property ConstraintAdjustment As PopupPositionerConstraintAdjustment
Get
Set
member ConstraintAdjustment : PopupPositionerConstraintAdjustment with
get, set
Property Value
PopupPositionerConstraintAdjustmentRemarks
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.
See Also
Reference
PopupPositionerParameters Structure
Avalonia.Controls.Primitives.PopupPositioning Namespace