MapItemsLoadedEventArgs Class
Provides data for the LayerBase.DataLoaded event of the VectorItemsLayer.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v18.1.dll
Declaration
Remarks
An instance of the MapItemsLoadedEventArgs class with appropriate settings is automatically created and passed to the corresponding event’s handler.
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.";
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MapItemsLoadedEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.