MapItemsLoadedEventArgs.Items Property
Returns the list of loaded map items.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
IEnumerable<MapItem> | An array of MapItem class descendant objects. |
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-use-arguments-of-the-vectoritemslayers-dataloaded-event-t180728
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