Edit

Bagikan melalui


Canvas.MeasureOverride(Size) Method

Definition

Measures the child elements of a Canvas 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

A Size that represents the size that is required to arrange child content.

Applies to

See also