Share via


MapCore.Center Property

 

Gets the center location of the map view.

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

Syntax

public Location Center { get; set; }
public:
property Location^ Center {
    Location^ get();
    void set(Location^ value);
}
member Center : Location with get, set
Public Property Center As Location

Property Value

Type: Microsoft.Maps.MapControl.WPF.Location

Returns Location.

See Also

MapCore Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top