Skip to main content
A newer version of this page is available. .

MapItemsLoadedEventArgs.Items Property

Returns the list of loaded map items.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v19.1.dll

Declaration

public IEnumerable<MapItem> Items { get; }

Property Value

Type Description
IEnumerable<MapItem>

An array of MapItem class descendant objects.

Example

void vectorLayer_DataLoaded(object sender, DataLoadedEventArgs e) {
    MapItemsLoadedEventArgs args = e as MapItemsLoadedEventArgs;
    if (args == null) return;

    lLayerState.Text = args.Items.Count().ToString() + " items loaded.";
}
See Also