Measures the child elements of the AutoSizeCanvas and measures the AutoSizeCanvas accordingly.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

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

Parameters

constraint
Type: System.Windows..::.Size
An upper limit Size that should not be exceeded.

Return Value

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

See Also