PopupPositionerParameters.

ConstraintAdjustment Property

Summary

Specify how the popup should be positioned if the originally intended position caused the popup to be constrained.

Syntax

public PopupPositionerConstraintAdjustment ConstraintAdjustment { get; set; }

Remarks

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.

Value