Shape.MeasureOverride(Size) Shape.MeasureOverride(Size) Shape.MeasureOverride(Size) 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 Size Size Size

A maximum Size to not exceed.

Returns

The maximum Size for the Shape.

Applies to

See also