Map Class |
The Map type exposes the following members.
Name | Description | |
---|---|---|
Bounds | Gets the bounds of the viewport in logical coordinates. | |
Center | Gets or sets the logical point of the map that is displayed in the center of the viewport. | |
ImageProvider | Gets or sets the image provider. | |
MouseDoubleClickCommand | Gets or sets the double click command. The command will be executed when the user double clicks on the map. The command parameter is a Point containing the logical coordinates. | |
MousePosition | Gets the last mouse position when the mouse was over the map in logical coordinates. | |
Offset | Gets the logical offset that the map image is moved relative to it's origin. | |
Viewport | Gets the element representing the viewport. | |
ViewportSize | Gets the zoom factor. | |
World | Gets the element representing the map layer. | |
ZoomFactor | Gets the zoom factor. | |
ZoomingPoint | Gets or sets the logical coordinates of the zooming point that will stay fixed when zooming. | |
ZoomLevel | Gets or sets the zoom level. Set to integer values to get non-blurred images. |
Name | Description | |
---|---|---|
OnApplyTemplate |
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides FrameworkElementOnApplyTemplate) | |
OnMouseDoubleClick |
Raises the MouseDoubleClick routed event.
(Overrides ControlOnMouseDoubleClick(MouseButtonEventArgs)) | |
OnMouseLeftButtonDown | Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event. (Overrides UIElementOnMouseLeftButtonDown(MouseButtonEventArgs)) | |
OnPreviewMouseMove |
Invoked when an unhandled PreviewMouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Overrides UIElementOnPreviewMouseMove(MouseEventArgs)) | |
OnRenderSizeChanged |
Raises the SizeChanged event, using the specified information as part of the eventual event data.
(Overrides FrameworkElementOnRenderSizeChanged(SizeChangedInfo)) |
Name | Description | |
---|---|---|
BoundsProperty | Identifies the Bounds dependency property | |
CenterProperty | Identifies the Center dependency property | |
ImageProviderProperty | Identifies the ImageProvider dependency property | |
MouseDoubleClickCommandProperty | Identifies the MouseDoubleClickCommand dependency property. | |
MousePositionProperty | Identifies the MousePosition dependency property. | |
OffsetProperty | Identifies the Offset read only dependency property | |
TemplatePartViewport | The template part name of the viewport visual. | |
TemplatePartWorld | The template part name of the world visual. | |
ViewportProperty | Identifies the Viewport dependency property. | |
ViewportSizeProperty | Identifies the ViewportSize dependency property | |
WorldProperty | Identifies the World dependency property. | |
ZoomFactorProperty | Identifies the ZoomFactor dependency property | |
ZoomingPointProperty | Identifies the ZoomingPoint dependency property | |
ZoomLevelProperty | Identifies the ZoomLevel dependency property |
Name | Description | |
---|---|---|
Ancestors |
Returns an enumeration of the ancestor elements in the logical tree of this element.
(Defined by DependencyObjectExtensions) | |
AncestorsAndSelf |
Returns an enumeration of elements that contain this element, and the ancestors in the logical tree of this element.
(Defined by DependencyObjectExtensions) | |
BeginInvoke |
Invokes the specified method asynchronously in the dispatcher thread of the visual.
(Defined by VisualExtensions) | |
BeginInvoke |
Invokes the specified method asynchronously in the dispatcher thread of the visual.
(Defined by VisualExtensions) | |
GetClientRect |
Gets the client rectangle of the framework element.
(Defined by PresentationFrameworkExtensions) | |
GetClientRect |
Gets the client rectangle of the framework element translated to another visual.
(Defined by PresentationFrameworkExtensions) | |
GetDesignUnitSize |
Gets the physical size of one design unit in pixels.
(Defined by PresentationFrameworkExtensions) | |
GetExportProvider |
Gets the active export provider for the specified object.
(Defined by ExportProviderLocator) | |
GetExtent |
Gets the extent of the framework element.
(Defined by PresentationFrameworkExtensions) | |
GetExtent |
Gets the extent of the framework element translated to another visual.
(Defined by PresentationFrameworkExtensions) | |
GetMissingExportProviderMessage |
Gets the message to show when an export provider could not be located in the visual tree.
(Defined by ExportProviderLocator) | |
GetPhysicalPixelSize |
Gets the physical size of one pixel in design units.
(Defined by PresentationFrameworkExtensions) | |
GetRootVisual |
Gets the root visual for the item.
(Defined by DependencyObjectExtensions) | |
GetValueT |
Gets the value of a dependency property using SafeCastT(Object).
(Defined by DependencyObjectExtensions) | |
GetWindowHandle |
Gets the window handle of the HwndSource hosting this item.
(Defined by DependencyObjectExtensions) | |
ProcessMessages |
Waits until all pending messages up to the Background priority are processed.
(Defined by PresentationFrameworkExtensions) | |
ProcessMessages |
Waits until all pending messages up to the specified priority are processed.
(Defined by PresentationFrameworkExtensions) | |
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) | |
SetExportProvider |
Sets the export provider.
(Defined by ExportProviderLocator) | |
TryFindAncestorT |
Returns the first element in the ancestor list that implements the type of the type parameter.
(Defined by DependencyObjectExtensions) | |
TryFindAncestorT |
Returns the first element in the ancestor list that implements the type of the type parameter.
(Defined by DependencyObjectExtensions) | |
TryFindAncestorOrSelfT |
Returns the first element in the ancestor list that implements the type of the type parameter.
(Defined by DependencyObjectExtensions) | |
TryFindAncestorOrSelfT |
Returns the first element in the ancestor list that implements the type of the type parameter.
(Defined by DependencyObjectExtensions) | |
TryGetExportProvider |
Gets the active export provider for the specified object, or null if no export provider is registered.
(Defined by ExportProviderLocator) | |
TryGetRootVisual |
Gets the root visual for the item.
(Defined by DependencyObjectExtensions) | |
VisualAncestors |
Returns an enumeration of the ancestor elements in the visual tree of this element.
(Defined by DependencyObjectExtensions) | |
VisualAncestorsAndSelf |
Returns an enumeration of elements that contains this element, and the ancestors in the visual tree of this element.
(Defined by DependencyObjectExtensions) | |
VisualChildren |
Enumerates the immediate children of the specified item.
(Defined by DependencyObjectExtensions) | |
VisualChildrenAndSelf |
Enumerates the specified item and it's immediate children.
(Defined by DependencyObjectExtensions) | |
VisualDescendants |
Enumerates all visuals descendants of the specified item.
(Defined by DependencyObjectExtensions) | |
VisualDescendantsAndSelf |
Enumerates the specified item and all it's visual descendants.
(Defined by DependencyObjectExtensions) |