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.
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
[TypeConverterAttribute(typeof(GeoCoordinateCollectionConverter))] public GeoCoordinateCollection Path { get; set; }
Property Value
Type: Microsoft.Phone.Maps.Controls.GeoCoordinateCollectionThe 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.