Path Property
Collapse the table of content
Expand the table of content

MapPolyline.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 collection of GeoCoordinates that creates the polyline.

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

[TypeConverterAttribute(typeof(GeoCoordinateCollectionConverter))]
public GeoCoordinateCollection Path { get; set; }

Property Value

Type: Microsoft.Phone.Maps.Controls.GeoCoordinateCollection
The collection of GeoCoordinates that creates the polyline.

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 MapPolyline instances.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft