Edit

Share via


WrapPanel.MeasureOverride(Size) Method

Definition

Measures the child elements of a WrapPanel in anticipation of arranging them during the ArrangeOverride(Size) pass.

protected:
 override System::Windows::Size MeasureOverride(System::Windows::Size constraint);
protected override System.Windows.Size MeasureOverride (System.Windows.Size constraint);
override this.MeasureOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function MeasureOverride (constraint As Size) As Size

Parameters

constraint
Size

An upper limit Size that should not be exceeded.

Returns

The Size that represents the desired size of the element.

Applies to

See also