MapItemsControl MapItemsControl MapItemsControl MapItemsControl Class

Definition

Contains a collection of XAML controls to be displayed on a MapControl.

public : sealed class MapItemsControl : DependencyObject, IMapItemsControlpublic sealed class MapItemsControl : DependencyObject, IMapItemsControlPublic NotInheritable Class MapItemsControl Inherits DependencyObject Implements IMapItemsControl// This API is not available in Javascript.
Inheritance
MapItemsControlMapItemsControlMapItemsControlMapItemsControl
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

Display XAML user interface elements such as a Button, a HyperlinkButton, or a TextBlock by adding them as Children of the MapControl. You can also add them to the MapItemsControl, or bind the MapItemsControl to an item or a collection of items.

Alternately, to display pushpins, images, and shapes on the MapControl, add them to its MapElements collection.

For more info, see Display maps with 2D, 3D, and Streetside views.

Constructors

MapItemsControl() MapItemsControl() MapItemsControl() MapItemsControl()

Initializes a new instance of the MapItemsControl class.

public : MapItemsControl()public MapItemsControl()Public Sub New()// This API is not available in Javascript.
See Also

Properties

Items Items Items Items

Gets a collection of XAML controls to be displayed on a MapControl.

public : IVector<DependencyObject> Items { get; }public IList<DependencyObject> Items { get; }Public ReadOnly Property Items As IList<DependencyObject>// This API is not available in Javascript.
Value
IVector<DependencyObject> IList<DependencyObject> IList<DependencyObject> IList<DependencyObject>

A collection of XAML controls to be displayed on a MapControl.

See Also

ItemsProperty ItemsProperty ItemsProperty ItemsProperty

Identifies the Items dependency property.

public : static DependencyProperty ItemsProperty { get; }public static DependencyProperty ItemsProperty { get; }Public Static ReadOnly Property ItemsProperty As DependencyProperty// This API is not available in Javascript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the Items dependency property.

See Also

ItemsSource ItemsSource ItemsSource ItemsSource

Gets or sets a source that provides the content of the MapItemsControl.

public : PlatForm::Object ItemsSource { get; set; }public object ItemsSource { get; set; }Public ReadWrite Property ItemsSource As object// This API is not available in Javascript.
Value
PlatForm::Object object object object

A source that provides the content of the MapItemsControl.

See Also

ItemsSourceProperty ItemsSourceProperty ItemsSourceProperty ItemsSourceProperty

Identifies the ItemsSource dependency property.

public : static DependencyProperty ItemsSourceProperty { get; }public static DependencyProperty ItemsSourceProperty { get; }Public Static ReadOnly Property ItemsSourceProperty As DependencyProperty// This API is not available in Javascript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the ItemsSource dependency property.

See Also

ItemTemplate ItemTemplate ItemTemplate ItemTemplate

Gets or sets the DataTemplate used to display each item.

public : DataTemplate ItemTemplate { get; set; }public DataTemplate ItemTemplate { get; set; }Public ReadWrite Property ItemTemplate As DataTemplate// This API is not available in Javascript.
Value
DataTemplate DataTemplate DataTemplate DataTemplate

The DataTemplate used to display each item.

See Also

ItemTemplateProperty ItemTemplateProperty ItemTemplateProperty ItemTemplateProperty

Identifies the ItemTemplate dependency property.

public : static DependencyProperty ItemTemplateProperty { get; }public static DependencyProperty ItemTemplateProperty { get; }Public Static ReadOnly Property ItemTemplateProperty As DependencyProperty// This API is not available in Javascript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the ItemTemplate dependency property.

See Also

See Also