Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapItemsLoadedEventArgs Class

Provides data for the LayerBase.DataLoaded event of the VectorItemsLayer.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#Declaration

public class MapItemsLoadedEventArgs :
    DataLoadedEventArgs

#Remarks

An instance of the MapItemsLoadedEventArgs class with appropriate settings is automatically created and passed to the corresponding event’s handler.

#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.";
}

#Inheritance

Object
EventArgs
DataLoadedEventArgs
MapItemsLoadedEventArgs
See Also