MapPolygon.Path Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the path of GeoCoordinates that makes the polygon shape.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

<TypeConverterAttribute(GetType(GeoCoordinateCollectionConverter))> _
Public Property Path As GeoCoordinateCollection
[TypeConverterAttribute(typeof(GeoCoordinateCollectionConverter))]
public GeoCoordinateCollection Path { get; set; }

Property Value

Type: Microsoft.Phone.Maps.Controls..::.GeoCoordinateCollection
The path of GeoCoordinates that makes the polygon shape.

Remarks

Set the value of the Path property by providing a value in XAML or by setting it programmatically in your code. Don't set the value of the Path property by using a XAML style. If you set the value by using a XAML style, undefined results may occur that also affect other MapPolygon instances.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

MapPolygon Class

Microsoft.Phone.Maps.Controls Namespace