Jaa


MapControl.Center Property

Definition

Gets or sets the center of the map.

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

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

Property Value

The center of the map.

Remarks

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