MapControl.Center Property


Gets or sets the center of the map.

 property Geopoint ^ Center { Geopoint ^ get(); void set(Geopoint ^ value); };
Geopoint Center();

void Center(Geopoint value);
public Geopoint Center { get; set; }
var geopoint =; = geopoint;
Public Property Center As Geopoint

Property Value

The center of the map.


Since a string can't be converted to a Geopoint, you can't specify a value for the Center property in XAML markup unless you use data binding.

Applies to

See also