ערוך

שתף באמצעות


Control.MeasureOverride(Size) Method

Definition

Called to remeasure a control.

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

The maximum size that the method can return.

Returns

The size of the control, up to the maximum specified by constraint.

Remarks

The default control measurement only measures the first visual child.

Applies to