Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MapControl.Center Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?