[]
A IMapLayer that displays tools for panning and zooming the map, and a scale.
[TemplatePart(Name = "Pan", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "Zoom", Type = typeof(RangeBase))]
[TemplatePart(Name = "MetersScale", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "MetersLabel", Type = typeof(TextBlock))]
[TemplatePart(Name = "MilesScale", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "MilesLabel", Type = typeof(TextBlock))]
[TemplatePart(Name = "PanMarker", Type = typeof(FrameworkElement))]
public class MapToolsLayer : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IMapLayer, IDisposable
<TemplatePart(Name:="Pan", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="Zoom", Type:=GetType(RangeBase))>
<TemplatePart(Name:="MetersScale", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="MetersLabel", Type:=GetType(TextBlock))>
<TemplatePart(Name:="MilesScale", Type:=GetType(FrameworkElement))>
<TemplatePart(Name:="MilesLabel", Type:=GetType(TextBlock))>
<TemplatePart(Name:="PanMarker", Type:=GetType(FrameworkElement))>
Public Class MapToolsLayer
Inherits Control
Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IMapLayer, IDisposable
| Name | Description |
|---|---|
| MapToolsLayer() | Initializes a new instance of the MapToolsLayer class. |
| Name | Description |
|---|---|
| IsDisposed | Gets whether this instance is disposed. |
| Name | Description |
|---|---|
| Dispose() | |
| Dispose(bool) | |
| OnApplyTemplate() |