Export (0) Print
Expand All

Compass Class

This documentation is no longer available on MSDN, however it is available as a CHM download.



Represents the compass control.

Namespace: Microsoft.Maps.MapControl.Navigation
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

[TemplatePartAttribute(Name="EastButton", Type=typeof(RadioButton))] 
[TemplatePartAttribute(Name="NorthButton", Type=typeof(RadioButton))] 
[TemplatePartAttribute(Name="SouthButton", Type=typeof(RadioButton))] 
[TemplatePartAttribute(Name="WestButton", Type=typeof(RadioButton))] 
[TemplatePartAttribute(Name="ThumbElement", Type=typeof(Thumb))] 
[TemplateVisualStateAttribute(Name="Show", GroupName="DirectionStates")] 
[TemplateVisualStateAttribute(Name="NoShow", GroupName="DirectionStates")] 
public class Compass : Control
/** @attribute TemplatePartAttribute(Name="EastButton", Type=System.Windows.Controls.RadioButton) */ 
/** @attribute TemplatePartAttribute(Name="NorthButton", Type=System.Windows.Controls.RadioButton) */ 
/** @attribute TemplatePartAttribute(Name="SouthButton", Type=System.Windows.Controls.RadioButton) */ 
/** @attribute TemplatePartAttribute(Name="WestButton", Type=System.Windows.Controls.RadioButton) */ 
/** @attribute TemplatePartAttribute(Name="ThumbElement", Type=System.Windows.Controls.Primitives.Thumb) */ 
/** @attribute TemplateVisualStateAttribute(Name="Show", GroupName="DirectionStates") */ 
/** @attribute TemplateVisualStateAttribute(Name="NoShow", GroupName="DirectionStates") */ 
public class Compass extends Control
TemplatePartAttribute(Name="EastButton", Type=System.Windows.Controls.RadioButton) 
TemplatePartAttribute(Name="NorthButton", Type=System.Windows.Controls.RadioButton) 
TemplatePartAttribute(Name="SouthButton", Type=System.Windows.Controls.RadioButton) 
TemplatePartAttribute(Name="WestButton", Type=System.Windows.Controls.RadioButton) 
TemplatePartAttribute(Name="ThumbElement", Type=System.Windows.Controls.Primitives.Thumb) 
TemplateVisualStateAttribute(Name="Show", GroupName="DirectionStates") 
TemplateVisualStateAttribute(Name="NoShow", GroupName="DirectionStates") 
public class Compass extends Control

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Show:
© 2014 Microsoft