MapControl.Center 屬性

定義

取得或設定地圖的中心。

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

屬性值

地圖的中心。

備註

由於字串無法轉換成Geopoint,因此您無法在 XAML 標記中指定Center屬性的值,除非您使用資料繫結。

適用於

另請參閱