Called to remeasure a control.

Namespace:  C1.WPF
Assembly:  C1.WPF (in C1.WPF.dll)

Syntax

C#
protected override Size MeasureOverride(
	Size constraint
)
Visual Basic
Protected Overrides Function MeasureOverride ( _
	constraint As Size _
) As Size

Parameters

constraint
Type: System.Windows..::..Size
The maximum size that the method can return.

Return Value

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

See Also