Share via


MapControl.Children プロパティ

定義

MapControl の子オブジェクトのコレクションを取得します。

public:
 property IVector<DependencyObject ^> ^ Children { IVector<DependencyObject ^> ^ get(); };
IVector<DependencyObject> Children();
public IList<DependencyObject> Children { get; }
var iVector = mapControl.children;
Public ReadOnly Property Children As IList(Of DependencyObject)

プロパティ値

MapControl の子オブジェクトのコレクション。

注釈

ButtonHyperlinkButtonTextBlock などの XAML ユーザー インターフェイス要素を、MapControl の子として追加して表示します。 MapItemsControl に追加したり、MapItemsControl を項目または項目のコレクションにバインドしたりすることもできます。

または、 MapControl にプッシュピン、イメージ、図形を表示するには、それらを MapElements コレクションに追加します。

詳細については、「 2D ビュー、3D ビュー、および Streetside ビューを使用してマップを表示する」を参照してください。

適用対象

こちらもご覧ください