Share via


MapShapeBase.MeasureOverride Method (Size)

 

Measures the shape to fit the available size.

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

Syntax

protected override Size MeasureOverride(
    Size availableSize
)
protected:
virtual Size MeasureOverride(
    Size availableSize
) override
override MeasureOverride : 
        availableSize:Size -> Size
Protected Overrides Function MeasureOverride (
    availableSize As Size
) As Size

Parameters

Return Value

Type: System.Windows.Size

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

See Also

MapShapeBase Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top