A IMapLayer that displays tools for panning and zooming the map, and a scale.

Namespace:  C1.Phone.Maps
Assembly:  C1.Phone.Maps (in C1.Phone.Maps.dll)

Syntax

C#
[TemplatePartAttribute(Name = "MetersLabel", Type = typeof(TextBlock))]
[TemplatePartAttribute(Name = "MetersScale", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "MilesScale", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "Zoom", Type = typeof(RangeBase))]
[TemplatePartAttribute(Name = "MilesLabel", Type = typeof(TextBlock))]
[TemplatePartAttribute(Name = "PanMarker", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "Pan", Type = typeof(FrameworkElement))]
public class C1MapToolsLayer : Control, 
	IMapLayer
Visual Basic
<TemplatePartAttribute(Name := "MetersLabel", Type := GetType(TextBlock))> _
<TemplatePartAttribute(Name := "MetersScale", Type := GetType(FrameworkElement))> _
<TemplatePartAttribute(Name := "MilesScale", Type := GetType(FrameworkElement))> _
<TemplatePartAttribute(Name := "Zoom", Type := GetType(RangeBase))> _
<TemplatePartAttribute(Name := "MilesLabel", Type := GetType(TextBlock))> _
<TemplatePartAttribute(Name := "PanMarker", Type := GetType(FrameworkElement))> _
<TemplatePartAttribute(Name := "Pan", Type := GetType(FrameworkElement))> _
Public Class C1MapToolsLayer _
	Inherits Control _
	Implements IMapLayer

Inheritance Hierarchy

See Also