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
availableSize
Type: System.Windows.SizeThe available size of the shape.
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