Share via


MapBase Members

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

Represents the abstract base map class. This class must be inherited.

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

Protected Constructors

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

Top

Public Fields

  Name Description
public fieldstatic CenterProperty Identifies the Center dependency property.
public fieldstatic CopyrightVisibilityProperty Identifies the CopyrightVisibility dependency property.
public fieldstatic CredentialsProviderProperty Identifies the CredentialsProvider dependency property.
public fieldstatic CultureProperty Identifies the Culture dependency property.
public fieldstatic HeadingProperty Identifies the Heading dependency property.
public fieldstatic LogoVisibilityProperty Identifies the LogoVisibility dependency property.
public fieldstatic NavigationVisibilityProperty Identifies the NavigationVisibility dependency property.
public fieldstatic PitchProperty Identifies the Pitch dependency property.
public fieldstatic ScaleVisibilityProperty Identifies the ScaleVisibility dependency property.
public fieldstatic ZoomLevelProperty Identifies the ZoomLevel 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 AnimationLevel When overridden in a derived class, gets or sets the animation level of map navigation.
public property Background  (inherited from Control)
public property BorderBrush  (inherited from Control)
public property BorderThickness  (inherited from Control)
public property BoundingRectangle When overridden in a derived class, gets the bounding rectangle that defines the boundaries of the map view.
public property CacheMode  (inherited from UIElement)
public property Center When overridden in a derived class, gets the center location of the map view.
public property Children Gets the child elements of the map.
public property Clip  (inherited from UIElement)
public property CopyrightVisibility Gets or sets the visibility of the copyright on the map.
public property CredentialsProvider Gets or sets the type of credentials that are being provided.
public property Culture Gets or sets the culture used by the map.
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 Heading When overridden in a derived class, gets or sets the directional heading of the map.
public property Height  (inherited from FrameworkElement)
public property HorizontalAlignment  (inherited from FrameworkElement)
public property HorizontalContentAlignment  (inherited from Control)
public property IsDownloading When overridden in a derived class, gets a bool indicating whether map data is downloading.
public property IsEnabled  (inherited from Control)
public property IsHitTestVisible  (inherited from UIElement)
public property IsTabStop  (inherited from Control)
public property Language  (inherited from FrameworkElement)
public property LogoVisibility Gets or sets the visibility of the logo on the map.
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 Mode When overridden in a derived class, gets or sets the map mode.
public property Name  (inherited from FrameworkElement)
public property NavigationVisibility Gets or sets the visibility of the navigation bar.
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 Pitch Gets or sets the pitch of the map.
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 ScaleVisibility Gets or sets the visibility of the scale bar.
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 TargetBoundingRectangle When overridden in a derived class, gets the bounding rectangle that defines the view towards which the map is animating.
public property TargetCenter When overridden in a derived class, gets the center location of the view towards which the map is animating.
public property TargetHeading When overridden in a derived class, gets the heading of the view towards which the map is animating.
public property TargetPitch When overridden in a derived class, gets the pitch of the view towards which the map is animating.
public property TargetZoomLevel When overridden in a derived class, gets the zoom level of the view towards which the map is animating.
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 ViewportSize When overridden in a derived class, gets the size of the viewport.
public property Visibility  (inherited from UIElement)
public property Width  (inherited from FrameworkElement)
public property ZoomLevel When overridden in a derived class, gets or sets the zoom level of the map.

Top

Protected Properties

  Name Description
protected property Content  (inherited from UserControl)
protected property DefaultStyleKey  (inherited from Control)
protected property RootLayer Gets the base map layer.

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 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 LocationToViewportPoint When overridden in a derived class, converts a location to a viewport point.
public method Measure  (inherited from UIElement)
public method OnApplyTemplate  (inherited from FrameworkElement)
public method ReadLocalValue  (inherited from DependencyObject)
public method ReleaseMouseCapture  (inherited from UIElement)
public method RemoveHandler  (inherited from UIElement)
public method SetBinding  (inherited from FrameworkElement)
public method SetMode When overridden in a derived class, sets the map mode.
public method SetValue  (inherited from DependencyObject)
public method SetView Overloaded. Sets the map view.
public method ToString  (inherited from Object)
public method TransformToVisual  (inherited from UIElement)
public method TryLocationToViewportPoint When overridden in a derived class, tries to convert a location to a viewport point.
public method TryViewportPointToLocation When overridden in a derived class, tries to convert a viewport point to a location.
public method UpdateLayout  (inherited from UIElement)
public method ViewportPointToLocation When overridden in a derived class, converts a viewport point to a location.

Top

Protected Methods

  Name Description
protected method ArrangeOverride  (inherited from FrameworkElement)
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 OnCenterChanged Enables derived classes to provide custom handling when the location of the center of the map changes.
protected method OnCreateAutomationPeer Overridden. Enables the ability to provide custom handling when an automation peer is created.
protected method OnCredentialsProviderChanged Enables derived classes to provide custom handling when the credentials provider changes.
protected method OnCultureChanged Enables derived classes to provide custom handling when the culture of the map changes.
protected method OnGotFocus  (inherited from Control)
protected method OnHeadingChanged Enables derived classes to provide custom handling when the heading of the map changes.
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  (inherited from Control)
protected method OnMouseLeave  (inherited from Control)
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 OnOverlayVisibilityChanged Enables derived classes to provide custom handling when the visibility of the map overlay changes.
protected method OnPitchChanged Enables derived classes to provide custom handling when the pitch of the map changes.
protected method OnZoomLevelChanged Enables derived classes to provide custom handling when the zoom level of the map changes.

Top

Public Events

  Name Description
public event BindingValidationError  (inherited from FrameworkElement)
public event GotFocus  (inherited from UIElement)
public event IsEnabledChanged  (inherited from Control)
public event KeyDown When overridden in a derived class, occurs when a key is pressed down.
public event KeyHeld When overridden in a derived class, occurs when the user presses and holds down a key or keys on the keyboard.
public event KeyPress When overridden in a derived class, occurs when the user presses a key on the keyboard.
public event KeyUp When overridden in a derived class, occurs when a key is released.
public event LayoutUpdated  (inherited from FrameworkElement)
public event Loaded  (inherited from FrameworkElement)
public event LoadingError When overridden in a derived class, occurs when there is an error loading the map.
public event LostFocus  (inherited from UIElement)
public event LostMouseCapture  (inherited from UIElement)
public event ModeChanged When overridden in a derived class, occurs when the map mode changes.
public event MouseClick When overridden in a derived class, occurs when the mouse is used to click the map.
public event MouseDoubleClick When overridden in a derived class, occurs when the mouse is used to double click the map.
public event MouseDragBox When overridden in a derived class, occurs when the mouse is used to drag a box around an area on the map.
public event MouseEnter  (inherited from UIElement)
public event MouseLeave  (inherited from UIElement)
public event MouseLeftButtonDown When overridden in a derived class, occurs when the mouse left button is pressed down.
public event MouseLeftButtonUp When overridden in a derived class, occurs when the mouse left button is released.
public event MouseMove When overridden in a derived class, occurs when the mouse moved.
public event MousePan When overridden in a derived class, occurs when the mouse is used to pan the map. The event occurs for every frame during the pan.
public event MouseWheel When overridden in a derived class, occurs when the mouse wheel is used.
public event SizeChanged  (inherited from FrameworkElement)
public event TargetViewChanged When overridden in a derived class, occurs when the view towards which the map is animating changes.
public event TouchComplete When overridden in a derived class, occurs when a touch of the map on the screen finishes.
public event TouchPan When overridden in a derived class, occurs when the screen is touched and dragged to pan the map. This event occurs every frame.
public event TouchRotate When overridden in a derived class, occurs when the map is rotated using touch. This event occurs when a touch point is dragged in a circle around a stationary touch point.
public event TouchZoom When overridden in a derived class, occurs when the map is touched to zoom the map. The map can be zoomed in using touch by tapping quickly twice, or by sliding two touch points together. The map can be zoomed out using touch by holding the CTRL key down and tapping quickly twice, or by sliding two touch points apart.
public event ViewChangeEnd When overridden in a derived class, occurs when the view is done changing.
public event ViewChangeOnFrame When overridden in a derived class, occurs when the map view is changing.
public event ViewChangeStart When overridden in a derived class, occurs when the map view starts changing.

Top

See Also

Reference

MapBase Class
Microsoft.Maps.MapControl.Core Namespace