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 | |
---|---|---|
CommandProperty | Identifies the Command dependency property. | |
IsExpandedProperty | Identifies the IsExpanded dependency property. |
Top
Public Properties
(see also Protected Properties)
Name | Description | |
---|---|---|
ActualHeight | (inherited from FrameworkElement) | |
ActualWidth | (inherited from FrameworkElement) | |
Background | (inherited from Control) | |
BorderBrush | (inherited from Control) | |
BorderThickness | (inherited from Control) | |
CacheMode | (inherited from UIElement) | |
Clip | (inherited from UIElement) | |
Command | Gets the command attached to the navigation bar. | |
Compass | Gets the Compass object embedded in the NavigationBar control. | |
Cursor | (inherited from FrameworkElement) | |
DataContext | (inherited from FrameworkElement) | |
DesiredSize | (inherited from UIElement) | |
Dispatcher | (inherited from DependencyObject) | |
Effect | (inherited from UIElement) | |
FontFamily | (inherited from Control) | |
FontSize | (inherited from Control) | |
FontStretch | (inherited from Control) | |
FontStyle | (inherited from Control) | |
FontWeight | (inherited from Control) | |
Foreground | (inherited from Control) | |
Height | (inherited from FrameworkElement) | |
HorizontalAlignment | (inherited from FrameworkElement) | |
HorizontalContentAlignment | (inherited from Control) | |
HorizontalLeftPanel | When overridden in a derived class, gets or sets the horizontal left panel of the navigation bar. | |
HorizontalPanel | When overridden in a derived class, gets or sets the horizontal panel of the navigation bar. | |
HorizontalRightPanel | When overridden in a derived class, gets or sets the horizontal right panel of the navigation bar. | |
IsEnabled | (inherited from Control) | |
IsExpanded | Gets or sets a value determining whether the NavigationBar is shown or hidden. | |
IsHitTestVisible | (inherited from UIElement) | |
IsMouseOver | Gets a whether the mouse is hovering over the NavigationBar. | |
IsTabStop | (inherited from Control) | |
Language | (inherited from FrameworkElement) | |
Margin | (inherited from FrameworkElement) | |
MaxHeight | (inherited from FrameworkElement) | |
MaxWidth | (inherited from FrameworkElement) | |
MinHeight | (inherited from FrameworkElement) | |
MinWidth | (inherited from FrameworkElement) | |
Name | (inherited from FrameworkElement) | |
Opacity | (inherited from UIElement) | |
OpacityMask | (inherited from UIElement) | |
Padding | (inherited from Control) | |
Parent | (inherited from FrameworkElement) | |
Projection | (inherited from UIElement) | |
RenderSize | (inherited from UIElement) | |
RenderTransform | (inherited from UIElement) | |
RenderTransformOrigin | (inherited from UIElement) | |
Resources | (inherited from FrameworkElement) | |
Style | (inherited from FrameworkElement) | |
TabIndex | (inherited from Control) | |
TabNavigation | (inherited from Control) | |
Tag | (inherited from FrameworkElement) | |
TargetMap | Gets or sets the MapBase type object controlled by this NavigationBar. | |
Template | (inherited from Control) | |
Triggers | (inherited from FrameworkElement) | |
UseLayoutRounding | (inherited from UIElement) | |
VerticalAlignment | (inherited from FrameworkElement) | |
VerticalContentAlignment | (inherited from Control) | |
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. | |
Visibility | (inherited from UIElement) | |
Width | (inherited from FrameworkElement) | |
ZoomSlider | Gets the ZoomSlider control in the NavigationBar. |
Top
Protected Properties
Name | Description | |
---|---|---|
DefaultStyleKey | (inherited from Control) |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
AddHandler | (inherited from UIElement) | |
ApplyTemplate | (inherited from Control) | |
Arrange | (inherited from UIElement) | |
CaptureMouse | (inherited from UIElement) | |
CheckAccess | (inherited from DependencyObject) | |
ClearValue | (inherited from DependencyObject) | |
Equals | (inherited from Object) | |
FindName | (inherited from FrameworkElement) | |
Focus | (inherited from Control) | |
GetAnimationBaseValue | (inherited from DependencyObject) | |
GetBindingExpression | (inherited from FrameworkElement) | |
GetCommand | Retrieves the command attached to the specified NavigationBar element. | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
GetValue | (inherited from DependencyObject) | |
InvalidateArrange | (inherited from UIElement) | |
InvalidateMeasure | (inherited from UIElement) | |
Measure | (inherited from UIElement) | |
OnApplyTemplate | Overridden. Enables the ability to provide custom handling when a template is applied to the control using the ApplyTemplate method. | |
ReadLocalValue | (inherited from DependencyObject) | |
RegisterCommandButton | Registers a command button that updates the status of the NavigationBar when the map changes its state. | |
ReleaseMouseCapture | (inherited from UIElement) | |
RemoveHandler | (inherited from UIElement) | |
SetBinding | (inherited from FrameworkElement) | |
SetCommand | Assigns a command to a specific navigation bar element. | |
SetValue | (inherited from DependencyObject) | |
ToString | (inherited from Object) | |
TransformToVisual | (inherited from UIElement) | |
UpdateLayout | (inherited from UIElement) |
Top
Protected Methods
Name | Description | |
---|---|---|
ArrangeOverride | (inherited from FrameworkElement) | |
ChangeMapHeading | When overridden in a derived class, changes the direction of the Compass. | |
Finalize | (inherited from Object) | |
GetTemplateChild | (inherited from Control) | |
MeasureOverride | (inherited from FrameworkElement) | |
MemberwiseClone | (inherited from Object) | |
OnCreateAutomationPeer | Overridden. Enables the ability to provide custom handling when an automation peer is created. | |
OnGotFocus | (inherited from Control) | |
OnIsExpandedChanged | Enables derived classes to provide custom handling when the IsExpanded property is changed. | |
OnKeyDown | (inherited from Control) | |
OnKeyUp | (inherited from Control) | |
OnLostFocus | (inherited from Control) | |
OnLostMouseCapture | (inherited from Control) | |
OnMouseEnter | Overridden. Raises the MouseEnter event when the mouse hovers over the NavigationBar. | |
OnMouseLeave | Overridden. Raises the MouseLeave event when the mouse moves away from the NavigationBar. | |
OnMouseLeftButtonDown | (inherited from Control) | |
OnMouseLeftButtonUp | (inherited from Control) | |
OnMouseMove | (inherited from Control) | |
OnMouseWheel | (inherited from Control) | |
PanMap | When overridden in a derived class, pans the map using the specified horizontal and vertical amounts. | |
ShouldEnableMapRotation | When overridden in a derived class, determines whether the NavigationBar compass shows directional buttons that rotate the map direction. | |
SynchronizeCommandButtonStates | Synchronizes the buttons state on the NavigationBar with the user controlled map. | |
SynchronizeStatesOnEndViewChange | When overridden in a derived class, synchronizes the state of the NavigationBar when the map raises the ViewChangeEnd event. | |
SynchronizeStatesOnModeChange | When overridden in a derived class, synchronizes the state of the NavigationBar when the map raises the ModeChanged event. | |
SynchronizeStatesOnViewChange | When overridden in a derived class, synchronizes the state of the NavigationBar when the map raises the ViewChangeStart event. | |
UpdateVisualState | When overridden in a derived class, updates the visual state of the NavigationBar. | |
ZoomMap | When overridden in a derived class, zooms the user controlled map to the specified zoom level. |
Top
Public Events
Name | Description | |
---|---|---|
BindingValidationError | (inherited from FrameworkElement) | |
Collapsed | Occurs when the NavigationBar is hidden. | |
Expanded | Occurs when the NavigationBar is unhidden. | |
GotFocus | (inherited from UIElement) | |
IsEnabledChanged | (inherited from Control) | |
KeyDown | (inherited from UIElement) | |
KeyUp | (inherited from UIElement) | |
LayoutUpdated | (inherited from FrameworkElement) | |
Loaded | (inherited from FrameworkElement) | |
LostFocus | (inherited from UIElement) | |
LostMouseCapture | (inherited from UIElement) | |
MouseEnter | (inherited from UIElement) | |
MouseLeave | (inherited from UIElement) | |
MouseLeftButtonDown | (inherited from UIElement) | |
MouseLeftButtonUp | (inherited from UIElement) | |
MouseMove | (inherited from UIElement) | |
MouseWheel | (inherited from UIElement) | |
SizeChanged | (inherited from FrameworkElement) | |
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