MapItemsLoadedEventArgs Class
Provides data for the LayerBase.DataLoaded event of the VectorItemsLayer.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v20.1.dll
NuGet Package: DevExpress.Win.Map
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.";
}
Inheritance
Object
EventArgs
DataLoadedEventArgs
MapItemsLoadedEventArgs
See Also