MapForeground Class

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

Represents the control that displays the scale bar, the logo, the copyright, and map navigation bar on the map.

Namespace: Microsoft.Maps.MapControl.Overlays
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
<TemplatePartAttribute(Name:="LogoElement", Type:=GetType(Logo))> _
<TemplatePartAttribute(Name:="NavigationElement", Type:=GetType(NavigationBar))> _
<TemplatePartAttribute(Name:="ScaleElement", Type:=GetType(Scale))> _
<TemplatePartAttribute(Name:="CopyrightElement", Type:=GetType(Copyright))> _
Public Class MapForeground
    Inherits Control
[TemplatePartAttribute(Name="LogoElement", Type=typeof(Logo))] 
[TemplatePartAttribute(Name="NavigationElement", Type=typeof(NavigationBar))] 
[TemplatePartAttribute(Name="ScaleElement", Type=typeof(Scale))] 
[TemplatePartAttribute(Name="CopyrightElement", Type=typeof(Copyright))] 
public class MapForeground : Control
[TemplatePartAttribute(Name=L"LogoElement", Type=typeof(Logo))] 
[TemplatePartAttribute(Name=L"NavigationElement", Type=typeof(NavigationBar))] 
[TemplatePartAttribute(Name=L"ScaleElement", Type=typeof(Scale))] 
[TemplatePartAttribute(Name=L"CopyrightElement", Type=typeof(Copyright))] 
public ref class MapForeground : public Control
/** @attribute TemplatePartAttribute(Name="LogoElement", Type=Microsoft.Maps.MapControl.Overlays.Logo) */ 
/** @attribute TemplatePartAttribute(Name="NavigationElement", Type=Microsoft.Maps.MapControl.Navigation.NavigationBar) */ 
/** @attribute TemplatePartAttribute(Name="ScaleElement", Type=Microsoft.Maps.MapControl.Overlays.Scale) */ 
/** @attribute TemplatePartAttribute(Name="CopyrightElement", Type=Microsoft.Maps.MapControl.Overlays.Copyright) */ 
public class MapForeground extends Control
TemplatePartAttribute(Name="LogoElement", Type=Microsoft.Maps.MapControl.Overlays.Logo) 
TemplatePartAttribute(Name="NavigationElement", Type=Microsoft.Maps.MapControl.Navigation.NavigationBar) 
TemplatePartAttribute(Name="ScaleElement", Type=Microsoft.Maps.MapControl.Overlays.Scale) 
TemplatePartAttribute(Name="CopyrightElement", Type=Microsoft.Maps.MapControl.Overlays.Copyright) 
public class MapForeground extends Control

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
     System.Windows.UIElement
       System.Windows.FrameworkElement
         System.Windows.Controls.Control
          Microsoft.Maps.MapControl.Overlays.MapForeground

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

MapForeground Members
Microsoft.Maps.MapControl.Overlays Namespace