MapControlNavigationBar Class

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

Represents a customized or localized NavigationBar control that can be added to a map.

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

Usage

Syntax

'Declaration
<TemplatePartAttribute(Name:="RotateCounterclockwiseButton", Type:=GetType(Button))> _
<TemplatePartAttribute(Name:="LabelsButton", Type:=GetType(CommandToggleButton))> _
<TemplatePartAttribute(Name:="AerialStyleButton", Type:=GetType(CommandRadioButton))> _
<TemplatePartAttribute(Name:="ZoomInButton", Type:=GetType(RepeatButton))> _
<TemplatePartAttribute(Name:="ZoomOutButton", Type:=GetType(RepeatButton))> _
<TemplatePartAttribute(Name:="RotateClockwiseButton", Type:=GetType(Button))> _
<TemplatePartAttribute(Name:="RoadStyleButton", Type:=GetType(CommandRadioButton))> _
Public Class MapControlNavigationBar
    Inherits NavigationBar
[TemplatePartAttribute(Name="RotateCounterclockwiseButton", Type=typeof(Button))] 
[TemplatePartAttribute(Name="LabelsButton", Type=typeof(CommandToggleButton))] 
[TemplatePartAttribute(Name="AerialStyleButton", Type=typeof(CommandRadioButton))] 
[TemplatePartAttribute(Name="ZoomInButton", Type=typeof(RepeatButton))] 
[TemplatePartAttribute(Name="ZoomOutButton", Type=typeof(RepeatButton))] 
[TemplatePartAttribute(Name="RotateClockwiseButton", Type=typeof(Button))] 
[TemplatePartAttribute(Name="RoadStyleButton", Type=typeof(CommandRadioButton))] 
public class MapControlNavigationBar : NavigationBar
[TemplatePartAttribute(Name=L"RotateCounterclockwiseButton", Type=typeof(Button))] 
[TemplatePartAttribute(Name=L"LabelsButton", Type=typeof(CommandToggleButton))] 
[TemplatePartAttribute(Name=L"AerialStyleButton", Type=typeof(CommandRadioButton))] 
[TemplatePartAttribute(Name=L"ZoomInButton", Type=typeof(RepeatButton))] 
[TemplatePartAttribute(Name=L"ZoomOutButton", Type=typeof(RepeatButton))] 
[TemplatePartAttribute(Name=L"RotateClockwiseButton", Type=typeof(Button))] 
[TemplatePartAttribute(Name=L"RoadStyleButton", Type=typeof(CommandRadioButton))] 
public ref class MapControlNavigationBar : public NavigationBar
/** @attribute TemplatePartAttribute(Name="RotateCounterclockwiseButton", Type=System.Windows.Controls.Button) */ 
/** @attribute TemplatePartAttribute(Name="LabelsButton", Type=Microsoft.Maps.MapControl.Navigation.CommandToggleButton) */ 
/** @attribute TemplatePartAttribute(Name="AerialStyleButton", Type=Microsoft.Maps.MapControl.Navigation.CommandRadioButton) */ 
/** @attribute TemplatePartAttribute(Name="ZoomInButton", Type=System.Windows.Controls.Primitives.RepeatButton) */ 
/** @attribute TemplatePartAttribute(Name="ZoomOutButton", Type=System.Windows.Controls.Primitives.RepeatButton) */ 
/** @attribute TemplatePartAttribute(Name="RotateClockwiseButton", Type=System.Windows.Controls.Button) */ 
/** @attribute TemplatePartAttribute(Name="RoadStyleButton", Type=Microsoft.Maps.MapControl.Navigation.CommandRadioButton) */ 
public class MapControlNavigationBar extends NavigationBar
TemplatePartAttribute(Name="RotateCounterclockwiseButton", Type=System.Windows.Controls.Button) 
TemplatePartAttribute(Name="LabelsButton", Type=Microsoft.Maps.MapControl.Navigation.CommandToggleButton) 
TemplatePartAttribute(Name="AerialStyleButton", Type=Microsoft.Maps.MapControl.Navigation.CommandRadioButton) 
TemplatePartAttribute(Name="ZoomInButton", Type=System.Windows.Controls.Primitives.RepeatButton) 
TemplatePartAttribute(Name="ZoomOutButton", Type=System.Windows.Controls.Primitives.RepeatButton) 
TemplatePartAttribute(Name="RotateClockwiseButton", Type=System.Windows.Controls.Button) 
TemplatePartAttribute(Name="RoadStyleButton", Type=Microsoft.Maps.MapControl.Navigation.CommandRadioButton) 
public class MapControlNavigationBar extends NavigationBar

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
     System.Windows.UIElement
       System.Windows.FrameworkElement
         System.Windows.Controls.Control
           Microsoft.Maps.MapControl.Navigation.NavigationBar
            Microsoft.Maps.MapControl.Navigation.MapControlNavigationBar

Thread Safety

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

Platforms

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

See Also

Reference

MapControlNavigationBar Members
Microsoft.Maps.MapControl.Navigation Namespace