windowsforms-devexpress-dot-xtramap-1da29704.md
Provides data for the LayerBase.DataLoaded event of the VectorItemsLayer.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
public class MapItemsLoadedEventArgs :
DataLoadedEventArgs
Public Class MapItemsLoadedEventArgs
Inherits DataLoadedEventArgs
An instance of the MapItemsLoadedEventArgs class with appropriate settings is automatically created and passed to the corresponding event’s handler.
void vectorLayer_DataLoaded(object sender, DataLoadedEventArgs e) {
MapItemsLoadedEventArgs args = e as MapItemsLoadedEventArgs;
if (args == null) return;
lLayerState.Text = args.Items.Count().ToString() + " items loaded.";
}
Private Sub vectorLayer_DataLoaded(ByVal sender As Object, ByVal e As DataLoadedEventArgs)
Dim args As MapItemsLoadedEventArgs = TryCast(e, MapItemsLoadedEventArgs)
If args Is Nothing Then
Return
End If
lLayerState.Text = args.Items.Count().ToString() & " items loaded."
End Sub
Object EventArgs DataLoadedEventArgs MapItemsLoadedEventArgs
See Also