NavigationBar Class

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

Represents the abstract base control used to navigate a MapBase object. This class must be inherited.

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

Usage

Syntax

'Declaration
<TemplatePartAttribute(Name:="CompassElement", Type:=GetType(Compass))> _
<TemplatePartAttribute(Name:="CollapseButton", Type:=GetType(ToggleButton))> _
<TemplatePartAttribute(Name:="ZoomSliderElement", Type:=GetType(ZoomSlider))> _
<TemplateVisualStateAttribute(Name:="Normal", GroupName:="CommonStates")> _
<TemplateVisualStateAttribute(Name:="MouseOver", GroupName:="CommonStates")> _
<TemplateVisualStateAttribute(Name:="Disabled", GroupName:="CommonStates")> _
<TemplateVisualStateAttribute(Name:="Expanded", GroupName:="ExpandStates")> _
<TemplateVisualStateAttribute(Name:="Collapsed", GroupName:="ExpandStates")> _
Public MustInherit Class NavigationBar
    Inherits Control
[TemplatePartAttribute(Name="CompassElement", Type=typeof(Compass))] 
[TemplatePartAttribute(Name="CollapseButton", Type=typeof(ToggleButton))] 
[TemplatePartAttribute(Name="ZoomSliderElement", Type=typeof(ZoomSlider))] 
[TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")] 
[TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")] 
[TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")] 
[TemplateVisualStateAttribute(Name="Expanded", GroupName="ExpandStates")] 
[TemplateVisualStateAttribute(Name="Collapsed", GroupName="ExpandStates")] 
public abstract class NavigationBar : Control
[TemplatePartAttribute(Name=L"CompassElement", Type=typeof(Compass))] 
[TemplatePartAttribute(Name=L"CollapseButton", Type=typeof(ToggleButton))] 
[TemplatePartAttribute(Name=L"ZoomSliderElement", Type=typeof(ZoomSlider))] 
[TemplateVisualStateAttribute(Name=L"Normal", GroupName=L"CommonStates")] 
[TemplateVisualStateAttribute(Name=L"MouseOver", GroupName=L"CommonStates")] 
[TemplateVisualStateAttribute(Name=L"Disabled", GroupName=L"CommonStates")] 
[TemplateVisualStateAttribute(Name=L"Expanded", GroupName=L"ExpandStates")] 
[TemplateVisualStateAttribute(Name=L"Collapsed", GroupName=L"ExpandStates")] 
public ref class NavigationBar abstract : public Control
/** @attribute TemplatePartAttribute(Name="CompassElement", Type=Microsoft.Maps.MapControl.Navigation.Compass) */ 
/** @attribute TemplatePartAttribute(Name="CollapseButton", Type=System.Windows.Controls.Primitives.ToggleButton) */ 
/** @attribute TemplatePartAttribute(Name="ZoomSliderElement", Type=Microsoft.Maps.MapControl.Navigation.ZoomSlider) */ 
/** @attribute TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates") */ 
/** @attribute TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates") */ 
/** @attribute TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates") */ 
/** @attribute TemplateVisualStateAttribute(Name="Expanded", GroupName="ExpandStates") */ 
/** @attribute TemplateVisualStateAttribute(Name="Collapsed", GroupName="ExpandStates") */ 
public abstract class NavigationBar extends Control
TemplatePartAttribute(Name="CompassElement", Type=Microsoft.Maps.MapControl.Navigation.Compass) 
TemplatePartAttribute(Name="CollapseButton", Type=System.Windows.Controls.Primitives.ToggleButton) 
TemplatePartAttribute(Name="ZoomSliderElement", Type=Microsoft.Maps.MapControl.Navigation.ZoomSlider) 
TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates") 
TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates") 
TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates") 
TemplateVisualStateAttribute(Name="Expanded", GroupName="ExpandStates") 
TemplateVisualStateAttribute(Name="Collapsed", GroupName="ExpandStates") 
public abstract class NavigationBar extends Control

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

NavigationBar Members
Microsoft.Maps.MapControl.Navigation Namespace