Rediger

Del via


Shape.MeasureOverride(Size) Method

Definition

Measures a Shape during the first layout pass prior to arranging it.

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

A maximum Size to not exceed.

Returns

The maximum Size for the Shape.

Applies to

See also