Muokkaa

Jaa


Border.MeasureOverride(Size) Method

Definition

Measures the child elements of a Border before they are arranged 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 Size limit that cannot be exceeded.

Returns

The Size that represents the upper size limit of the element.

Remarks

A Border element determines its upper Size limit by analyzing the sizing properties, margin, and requested size of its child elements.

Applies to

See also