MapShapeBase.MeasureOverride Method (Size)

Bing
 

Measures the shape to fit the available size.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

Protected Overrides Function MeasureOverride (
	availableSize As Size
) As Size

Parameters

availableSize
Type: System.Windows.Size

The available size of the shape.

Return Value

Type: System.Windows.Size

Returns the actualSize needed by the shape and its children..

Return to top
Show: