MapControl.Location 附加屬性

定義

取得或設定 MapControl 子專案的位置。

see GetLocation, and SetLocation
see GetLocation, and SetLocation
see GetLocation, and SetLocation

備註

位置是 MapControl 上的地理位置,其中子項目的 MapControl.NormalizedAnchorPoint 位置。

因為字串無法轉換成 Geopoint,所以除非您使用資料系結,否則無法在 XAML 標記中指定附加屬性的值 MapControl.Location

MapControl.Location父元素會解譯 MapControl 值。 值會與 一起使用 MapControl.NormalizedAnchorPoint ,以指定 的每個子專案的 MapControl 版面配置特性。

如果您在 3D 檢視中提供 AltitudeAltitudeReferenceSystem ,則會將元素新增至 MapControl 最後放置於空間或浮動空間中。

適用於

另請參閱