NavigationBar Members

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.

The following tables list the members exposed by the NavigationBar type.

Protected Constructors

  Name Description
NavigationBar Initializes a new instance of the NavigationBar class.

Top

Public Fields

  Name Description
public fieldstatic CommandProperty Identifies the Command dependency property.
public fieldstatic IsExpandedProperty Identifies the IsExpanded dependency property.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property ActualHeight  (inherited from FrameworkElement)
public property ActualWidth  (inherited from FrameworkElement)
public property Background  (inherited from Control)
public property BorderBrush  (inherited from Control)
public property BorderThickness  (inherited from Control)
public property CacheMode  (inherited from UIElement)
public property Clip  (inherited from UIElement)
public propertystatic Command Gets the command attached to the navigation bar.
public property Compass Gets the Compass object embedded in the NavigationBar control.
public property Cursor  (inherited from FrameworkElement)
public property DataContext  (inherited from FrameworkElement)
public property DesiredSize  (inherited from UIElement)
public property Dispatcher  (inherited from DependencyObject)
public property Effect  (inherited from UIElement)
public property FontFamily  (inherited from Control)
public property FontSize  (inherited from Control)
public property FontStretch  (inherited from Control)
public property FontStyle  (inherited from Control)
public property FontWeight  (inherited from Control)
public property Foreground  (inherited from Control)
public property Height  (inherited from FrameworkElement)
public property HorizontalAlignment  (inherited from FrameworkElement)
public property HorizontalContentAlignment  (inherited from Control)
public property HorizontalLeftPanel When overridden in a derived class, gets or sets the horizontal left panel of the navigation bar.
public property HorizontalPanel When overridden in a derived class, gets or sets the horizontal panel of the navigation bar.
public property HorizontalRightPanel When overridden in a derived class, gets or sets the horizontal right panel of the navigation bar.
public property IsEnabled  (inherited from Control)
public property IsExpanded Gets or sets a value determining whether the NavigationBar is shown or hidden.
public property IsHitTestVisible  (inherited from UIElement)
public property IsMouseOver Gets a whether the mouse is hovering over the NavigationBar.
public property IsTabStop  (inherited from Control)
public property Language  (inherited from FrameworkElement)
public property Margin  (inherited from FrameworkElement)
public property MaxHeight  (inherited from FrameworkElement)
public property MaxWidth  (inherited from FrameworkElement)
public property MinHeight  (inherited from FrameworkElement)
public property MinWidth  (inherited from FrameworkElement)
public property Name  (inherited from FrameworkElement)
public property Opacity  (inherited from UIElement)
public property OpacityMask  (inherited from UIElement)
public property Padding  (inherited from Control)
public property Parent  (inherited from FrameworkElement)
public property Projection  (inherited from UIElement)
public property RenderSize  (inherited from UIElement)
public property RenderTransform  (inherited from UIElement)
public property RenderTransformOrigin  (inherited from UIElement)
public property Resources  (inherited from FrameworkElement)
public property Style  (inherited from FrameworkElement)
public property TabIndex  (inherited from Control)
public property TabNavigation  (inherited from Control)
public property Tag  (inherited from FrameworkElement)
public property TargetMap Gets or sets the MapBase type object controlled by this NavigationBar.
public property Template  (inherited from Control)
public property Triggers  (inherited from FrameworkElement)
public property UseLayoutRounding  (inherited from UIElement)
public property VerticalAlignment  (inherited from FrameworkElement)
public property VerticalContentAlignment  (inherited from Control)
public property VerticalPanel When overridden in a derived class, gets or sets the vertical panel of the navigation bar. By default this panel contains the zoom buttons.
public property Visibility  (inherited from UIElement)
public property Width  (inherited from FrameworkElement)
public property ZoomSlider Gets the ZoomSlider control in the NavigationBar.

Top

Protected Properties

  Name Description
protected property DefaultStyleKey  (inherited from Control)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method AddHandler  (inherited from UIElement)
public method ApplyTemplate  (inherited from Control)
public method Arrange  (inherited from UIElement)
public method CaptureMouse  (inherited from UIElement)
public method CheckAccess  (inherited from DependencyObject)
public method ClearValue  (inherited from DependencyObject)
public method Equals  (inherited from Object)
public method FindName  (inherited from FrameworkElement)
public method Focus  (inherited from Control)
public method GetAnimationBaseValue  (inherited from DependencyObject)
public method GetBindingExpression  (inherited from FrameworkElement)
public methodstatic GetCommand Retrieves the command attached to the specified NavigationBar element.
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method GetValue  (inherited from DependencyObject)
public method InvalidateArrange  (inherited from UIElement)
public method InvalidateMeasure  (inherited from UIElement)
public method Measure  (inherited from UIElement)
public method OnApplyTemplate Overridden. Enables the ability to provide custom handling when a template is applied to the control using the ApplyTemplate method.
public method ReadLocalValue  (inherited from DependencyObject)
public method RegisterCommandButton Registers a command button that updates the status of the NavigationBar when the map changes its state.
public method ReleaseMouseCapture  (inherited from UIElement)
public method RemoveHandler  (inherited from UIElement)
public method SetBinding  (inherited from FrameworkElement)
public methodstatic SetCommand Assigns a command to a specific navigation bar element.
public method SetValue  (inherited from DependencyObject)
public method ToString  (inherited from Object)
public method TransformToVisual  (inherited from UIElement)
public method UpdateLayout  (inherited from UIElement)

Top

Protected Methods

  Name Description
protected method ArrangeOverride  (inherited from FrameworkElement)
protected method ChangeMapHeading When overridden in a derived class, changes the direction of the Compass.
protected method Finalize  (inherited from Object)
protected method GetTemplateChild  (inherited from Control)
protected method MeasureOverride  (inherited from FrameworkElement)
protected method MemberwiseClone  (inherited from Object)
protected method OnCreateAutomationPeer Overridden. Enables the ability to provide custom handling when an automation peer is created.
protected method OnGotFocus  (inherited from Control)
protected method OnIsExpandedChanged Enables derived classes to provide custom handling when the IsExpanded property is changed.
protected method OnKeyDown  (inherited from Control)
protected method OnKeyUp  (inherited from Control)
protected method OnLostFocus  (inherited from Control)
protected method OnLostMouseCapture  (inherited from Control)
protected method OnMouseEnter Overridden. Raises the MouseEnter event when the mouse hovers over the NavigationBar.
protected method OnMouseLeave Overridden. Raises the MouseLeave event when the mouse moves away from the NavigationBar.
protected method OnMouseLeftButtonDown  (inherited from Control)
protected method OnMouseLeftButtonUp  (inherited from Control)
protected method OnMouseMove  (inherited from Control)
protected method OnMouseWheel  (inherited from Control)
protected method PanMap When overridden in a derived class, pans the map using the specified horizontal and vertical amounts.
protected method ShouldEnableMapRotation When overridden in a derived class, determines whether the NavigationBar compass shows directional buttons that rotate the map direction.
protected method SynchronizeCommandButtonStates Synchronizes the buttons state on the NavigationBar with the user controlled map.
protected method SynchronizeStatesOnEndViewChange When overridden in a derived class, synchronizes the state of the NavigationBar when the map raises the ViewChangeEnd event.
protected method SynchronizeStatesOnModeChange When overridden in a derived class, synchronizes the state of the NavigationBar when the map raises the ModeChanged event.
protected method SynchronizeStatesOnViewChange When overridden in a derived class, synchronizes the state of the NavigationBar when the map raises the ViewChangeStart event.
protected method UpdateVisualState When overridden in a derived class, updates the visual state of the NavigationBar.
protected method ZoomMap When overridden in a derived class, zooms the user controlled map to the specified zoom level.

Top

Public Events

  Name Description
public event BindingValidationError  (inherited from FrameworkElement)
public event Collapsed Occurs when the NavigationBar is hidden.
public event Expanded Occurs when the NavigationBar is unhidden.
public event GotFocus  (inherited from UIElement)
public event IsEnabledChanged  (inherited from Control)
public event KeyDown  (inherited from UIElement)
public event KeyUp  (inherited from UIElement)
public event LayoutUpdated  (inherited from FrameworkElement)
public event Loaded  (inherited from FrameworkElement)
public event LostFocus  (inherited from UIElement)
public event LostMouseCapture  (inherited from UIElement)
public event MouseEnter  (inherited from UIElement)
public event MouseLeave  (inherited from UIElement)
public event MouseLeftButtonDown  (inherited from UIElement)
public event MouseLeftButtonUp  (inherited from UIElement)
public event MouseMove  (inherited from UIElement)
public event MouseWheel  (inherited from UIElement)
public event SizeChanged  (inherited from FrameworkElement)
public event TemplateApplied When overridden in a derived class, occurs when a template is applied to the navigation bar.

Top

See Also

Reference

NavigationBar Class
Microsoft.Maps.MapControl.Navigation Namespace