Skip to main content

MapItemsLoadedEventArgs.Items Property

Returns the list of loaded map items.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

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