Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Microsoft Developer Network
Home
Library
Learn
Downloads
Support
Community
Forums
Classic
  |  
Lightweight Beta
  |  
ScriptFree
Printer Friendly Version
Send
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
Online Services
Please Wait
Bing Services
Please Wait
Bing Maps SDKs
Please Wait
Bing Maps Silverlight Control SDK
Please Wait
Programming Reference
Please Wait
Bing Maps Silverlight Control Class...
Please Wait
Microsoft.Maps.MapControl
Please Wait
Map Class
Please Wait
Map Members
Collapse All
Expand All
Map Members
Represents the default map class.
The following tables list the members exposed by the
Map
type.
Public Constructors
Name
Description
Map
Initializes a new instance of the
Map
class.
Top
Public Fields
(see also
Protected Fields
)
Name
Description
ActualHeightProperty
(inherited from
FrameworkElement
)
ActualWidthProperty
(inherited from
FrameworkElement
)
BackgroundProperty
(inherited from
Control
)
BorderBrushProperty
(inherited from
Control
)
BorderThicknessProperty
(inherited from
Control
)
CacheModeProperty
(inherited from
UIElement
)
CenterProperty
Specifies the location of the center of the map. (inherited from
MapBase
)
ClipProperty
(inherited from
UIElement
)
CopyrightVisibilityProperty
Specifies whether the copyright is visible. (inherited from
MapBase
)
CredentialsProviderProperty
Specifies the type of credentials that are being provided. (inherited from
MapBase
)
CultureProperty
Specifies the map culture to use. (inherited from
MapBase
)
DataContextProperty
(inherited from
FrameworkElement
)
EffectProperty
(inherited from
UIElement
)
FontFamilyProperty
(inherited from
Control
)
FontSizeProperty
(inherited from
Control
)
FontStretchProperty
(inherited from
Control
)
FontStyleProperty
(inherited from
Control
)
FontWeightProperty
(inherited from
Control
)
ForegroundProperty
(inherited from
Control
)
HeadingProperty
Specifies the directional heading, in degrees, of the map. (inherited from
MapBase
)
HeightProperty
(inherited from
FrameworkElement
)
HorizontalAlignmentProperty
(inherited from
FrameworkElement
)
HorizontalContentAlignmentProperty
(inherited from
Control
)
IsEnabledProperty
(inherited from
Control
)
IsHitTestVisibleProperty
(inherited from
UIElement
)
IsTabStopProperty
(inherited from
Control
)
KeyDownEvent
(inherited from
UIElement
)
KeyUpEvent
(inherited from
UIElement
)
LanguageProperty
(inherited from
FrameworkElement
)
LoadedEvent
(inherited from
FrameworkElement
)
LogoVisibilityProperty
Specifies whether the logo is visible. (inherited from
MapBase
)
MarginProperty
(inherited from
FrameworkElement
)
MaxHeightProperty
(inherited from
FrameworkElement
)
MaxWidthProperty
(inherited from
FrameworkElement
)
MinHeightProperty
(inherited from
FrameworkElement
)
MinWidthProperty
(inherited from
FrameworkElement
)
MouseLeftButtonDownEvent
(inherited from
UIElement
)
MouseLeftButtonUpEvent
(inherited from
UIElement
)
NameProperty
(inherited from
FrameworkElement
)
NavigationVisibilityProperty
Specifies whether the navigation bar is visible. (inherited from
MapBase
)
OpacityMaskProperty
(inherited from
UIElement
)
OpacityProperty
(inherited from
UIElement
)
PaddingProperty
(inherited from
Control
)
PitchProperty
Specifies the pitch of the map. (inherited from
MapBase
)
ProjectionProperty
(inherited from
UIElement
)
RenderTransformOriginProperty
(inherited from
UIElement
)
RenderTransformProperty
(inherited from
UIElement
)
ScaleVisibilityProperty
Specifies whether the scale bar is visible. (inherited from
MapBase
)
StyleProperty
(inherited from
FrameworkElement
)
TabIndexProperty
(inherited from
Control
)
TabNavigationProperty
(inherited from
Control
)
TagProperty
(inherited from
FrameworkElement
)
TemplateProperty
(inherited from
Control
)
UseLayoutRoundingProperty
(inherited from
UIElement
)
VerticalAlignmentProperty
(inherited from
FrameworkElement
)
VerticalContentAlignmentProperty
(inherited from
Control
)
VisibilityProperty
(inherited from
UIElement
)
WidthProperty
(inherited from
FrameworkElement
)
ZoomLevelProperty
Specifies the zoom level of the map. (inherited from
MapBase
)
Top
Protected Fields
Name
Description
ContentProperty
(inherited from
UserControl
)
DefaultStyleKeyProperty
(inherited from
Control
)
Top
Public Properties
(see also
Protected Properties
)
Name
Description
ActualHeight
(inherited from
FrameworkElement
)
ActualWidth
(inherited from
FrameworkElement
)
AnimationLevel
Gets or sets the animation level of the map. (inherited from
MapCore
)
Background
(inherited from
Control
)
BorderBrush
(inherited from
Control
)
BorderThickness
(inherited from
Control
)
BoundingRectangle
Gets the rectangle that defines the boundaries of the map view. (inherited from
MapCore
)
CacheMode
(inherited from
UIElement
)
Center
When overridden in a derived class, gets the center location of the map view. (inherited from
MapBase
)
Children
Gets the child elements of the map. (inherited from
MapBase
)
Clip
(inherited from
UIElement
)
CopyrightVisibility
Gets or sets the visibility of the copyright on the map. (inherited from
MapBase
)
CredentialsProvider
Gets or sets the credentials provider.
Culture
Gets or sets the culture used by the map. (inherited from
MapBase
)
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
)
Heading
When overridden in a derived class, gets or sets the directional heading of the map. (inherited from
MapBase
)
Height
(inherited from
FrameworkElement
)
HorizontalAlignment
(inherited from
FrameworkElement
)
HorizontalContentAlignment
(inherited from
Control
)
IsEnabled
(inherited from
Control
)
IsHitTestVisible
(inherited from
UIElement
)
IsTabStop
(inherited from
Control
)
Language
(inherited from
FrameworkElement
)
LogoVisibility
Gets or sets the visibility of the logo on the map. (inherited from
MapBase
)
MapForeground
Gets the map foreground.
Margin
(inherited from
FrameworkElement
)
MaxHeight
(inherited from
FrameworkElement
)
MaxWidth
(inherited from
FrameworkElement
)
MinHeight
(inherited from
FrameworkElement
)
MinWidth
(inherited from
FrameworkElement
)
Mode
Overridden. Gets or sets the map mode.
Name
(inherited from
FrameworkElement
)
NavigationVisibility
Gets or sets the visibility of the navigation bar. (inherited from
MapBase
)
Opacity
(inherited from
UIElement
)
OpacityMask
(inherited from
UIElement
)
Padding
(inherited from
Control
)
Parent
(inherited from
FrameworkElement
)
Pitch
When overridden in a derived class, gets or sets the pitch of the map. (inherited from
MapBase
)
Projection
(inherited from
UIElement
)
RenderSize
(inherited from
UIElement
)
RenderTransform
(inherited from
UIElement
)
RenderTransformOrigin
(inherited from
UIElement
)
Resources
(inherited from
FrameworkElement
)
ScaleVisibility
Gets or sets the visibility of the scale bar. (inherited from
MapBase
)
Style
(inherited from
FrameworkElement
)
TabIndex
(inherited from
Control
)
TabNavigation
(inherited from
Control
)
Tag
(inherited from
FrameworkElement
)
TargetBoundingRectangle
Gets the bounding rectangle that defines the boundaries of the map view towards which the map is animating. (inherited from
MapCore
)
TargetCenter
Gets the center location of the map view towards which the map is animating. (inherited from
MapCore
)
TargetHeading
Gets the heading of the map view towards which the map is animating. (inherited from
MapCore
)
TargetPitch
Gets the pitch of the map view towards which the map is animating. (inherited from
MapCore
)
TargetZoomLevel
Gets the zoom level of the map view towards which the map is animating. (inherited from
MapCore
)
Template
(inherited from
Control
)
Triggers
(inherited from
FrameworkElement
)
UseLayoutRounding
(inherited from
UIElement
)
VerticalAlignment
(inherited from
FrameworkElement
)
VerticalContentAlignment
(inherited from
Control
)
ViewportSize
Gets the size of the viewport. (inherited from
MapCore
)
Visibility
(inherited from
UIElement
)
Width
(inherited from
FrameworkElement
)
ZoomLevel
When overridden in a derived class, gets or sets the zoom level of the map. (inherited from
MapBase
)
Top
Protected Properties
Name
Description
Content
(inherited from
UserControl
)
DefaultStyleKey
(inherited from
Control
)
LoadingException
Gets the exception that occurred when loading the map. (inherited from
MapCore
)
RootLayer
Gets the base map layer. (inherited from
MapBase
)
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
Overloaded. (inherited from
Object
)
FindName
(inherited from
FrameworkElement
)
Focus
(inherited from
Control
)
GetAnimationBaseValue
(inherited from
DependencyObject
)
GetBindingExpression
(inherited from
FrameworkElement
)
GetHashCode
(inherited from
Object
)
GetType
(inherited from
Object
)
GetValue
(inherited from
DependencyObject
)
InvalidateArrange
(inherited from
UIElement
)
InvalidateMeasure
(inherited from
UIElement
)
LocationToViewportPoint
(inherited from
MapCore
)
Measure
(inherited from
UIElement
)
OnApplyTemplate
(inherited from
FrameworkElement
)
ReadLocalValue
(inherited from
DependencyObject
)
ReferenceEquals
(inherited from
Object
)
ReleaseMouseCapture
(inherited from
UIElement
)
RemoveHandler
(inherited from
UIElement
)
SetBinding
(inherited from
FrameworkElement
)
SetMode
(inherited from
MapCore
)
SetValue
(inherited from
DependencyObject
)
SetView
Overloaded. (inherited from
MapCore
)
ToString
(inherited from
Object
)
TransformToVisual
(inherited from
UIElement
)
TryLocationToViewportPoint
(inherited from
MapCore
)
TryViewportPointToLocation
(inherited from
MapCore
)
UpdateLayout
(inherited from
UIElement
)
ViewportPointToLocation
(inherited from
MapCore
)
Top
Protected Methods
Name
Description
ArrangeOverride
(inherited from
MapCore
)
Finalize
Overridden. De-constructs the map.
GetTemplateChild
(inherited from
Control
)
MeasureOverride
(inherited from
MapCore
)
MemberwiseClone
(inherited from
Object
)
OnCenterChanged
(inherited from
MapCore
)
OnCreateAutomationPeer
Creates an automation peer for the map object. (inherited from
MapBase
)
OnCredentialsProviderChanged
Overridden. Raises the CredentialsProviderChanged event.
OnCultureChanged
Overridden. Raises the CultureChanged event.
OnFirstFrame
Overridden. Executes a method on the first frame.
OnGotFocus
(inherited from
Control
)
OnHeadingChanged
(inherited from
MapCore
)
OnKeyDown
(inherited from
MapCore
)
OnKeyUp
(inherited from
MapCore
)
OnLostFocus
(inherited from
Control
)
OnLostMouseCapture
(inherited from
Control
)
OnMouseEnter
(inherited from
Control
)
OnMouseLeave
(inherited from
Control
)
OnMouseLeftButtonDown
(inherited from
MapCore
)
OnMouseLeftButtonUp
(inherited from
MapCore
)
OnMouseMove
(inherited from
MapCore
)
OnMouseWheel
(inherited from
MapCore
)
OnOverlayVisibilityChanged
Overridden. Raises the OverlayVisiblityChanged event.
OnPitchChanged
(inherited from
MapCore
)
OnZoomLevelChanged
(inherited from
MapCore
)
ProjectionUpdated
(inherited from
MapCore
)
Top
Public Events
Name
Description
BindingValidationError
(inherited from
FrameworkElement
)
GotFocus
(inherited from
UIElement
)
IsEnabledChanged
(inherited from
Control
)
KeyDown
Occurs when a key is pressed down. (inherited from
MapCore
)
KeyHeld
Occurs when the user presses and holds down a key or keys on the keyboard. (inherited from
MapCore
)
KeyPress
Occurs when the user presses a key on the keyboard. (inherited from
MapCore
)
KeyUp
Occurs when a key is released. (inherited from
MapCore
)
LayoutUpdated
(inherited from
FrameworkElement
)
Loaded
(inherited from
FrameworkElement
)
LoadingError
Occurs when there is an error loading the map. (inherited from
MapCore
)
LostFocus
(inherited from
UIElement
)
LostMouseCapture
(inherited from
UIElement
)
ModeChanged
Occurs when the map mode changes. (inherited from
MapCore
)
MouseClick
Occurs when the mouse is used to click the map. (inherited from
MapCore
)
MouseDoubleClick
Occurs when the mouse is used to double click the map. (inherited from
MapCore
)
MouseDragBox
Occurs when the mouse is used to drag a box around an area on the map. (inherited from
MapCore
)
MouseEnter
(inherited from
UIElement
)
MouseLeave
(inherited from
UIElement
)
MouseLeftButtonDown
Occurs when the left mouse button is pressed down. (inherited from
MapCore
)
MouseLeftButtonUp
Occurs when the left mouse button is released. (inherited from
MapCore
)
MouseMove
Occurs when the mouse moves. (inherited from
MapCore
)
MousePan
Occurs when the mouse is used to pan the map. The event occurs for every frame during the pan. (inherited from
MapCore
)
MouseWheel
Occurs when the mouse wheel is used. (inherited from
MapCore
)
SizeChanged
(inherited from
FrameworkElement
)
TargetViewChanged
Occurs when the view towards which the map is animating changes. (inherited from
MapCore
)
ViewChangeEnd
Occurs when the view is done changing. (inherited from
MapCore
)
ViewChangeOnFrame
Occurs when the view is done changing. (inherited from
MapCore
)
ViewChangeStart
Occurs when the view starts changing. (inherited from
MapCore
)
Top
See Also
Reference
Map Class
Microsoft.Maps.MapControl Namespace
Other Resources
Creating a Basic Application Using the Silverlight Map Control
Navigating Between Map Views
Copyright © 2009 by Microsoft Corporation. All rights reserved.
© 2010 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement