MapRouteView
MapRouteView
MapRouteView
MapRouteView
Class
Definition
Displays a MapRoute on a MapControl.
public : class MapRouteView : DependencyObject, IMapRouteViewpublic class MapRouteView : DependencyObject, IMapRouteViewPublic Class MapRouteView Inherits DependencyObject Implements IMapRouteView// This API is not available in Javascript.
- Inheritance
-
MapRouteViewMapRouteViewMapRouteViewMapRouteView
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)
GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)
GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)
ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)
Inherited properties
Remarks
To display a route on a map, construct a MapRouteView with the MapRoute and add the MapRouteView to the Routes collection of the MapControl.
Constructors
MapRouteView(MapRoute) MapRouteView(MapRoute) MapRouteView(MapRoute) MapRouteView(MapRoute)
Initializes a new instance of the MapRouteView class with the specified MapRoute.
public : MapRouteView(MapRoute route)public MapRouteView(MapRoute route)Public Sub New(route As MapRoute)// This API is not available in Javascript.
Parameters
- See Also
Properties
OutlineColor OutlineColor OutlineColor OutlineColor
Gets or sets the color of the outline of the route displayed in the MapRouteView.
public : Color OutlineColor { get; set; }public Color OutlineColor { get; set; }Public ReadWrite Property OutlineColor As Color// This API is not available in Javascript.
The color of the outline of the route displayed in the MapRouteView.
Remarks
By default, the fill color of the route does not have a colored outline.
- See Also
Route Route Route Route
Gets the MapRoute displayed by the MapRouteView.
public : MapRoute Route { get; }public MapRoute Route { get; }Public ReadOnly Property Route As MapRoute// This API is not available in Javascript.
- See Also
RouteColor RouteColor RouteColor RouteColor
Gets or sets the color of the route displayed in the MapRouteView.
public : Color RouteColor { get; set; }public Color RouteColor { get; set; }Public ReadWrite Property RouteColor As Color// This API is not available in Javascript.
The color of the route displayed in the MapRouteView.
- See Also