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

MapControl.LegendItemCreating Event

In This Article

Occurs when items are being created for the legend.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public event LegendItemCreatingEventHandler LegendItemCreating

#Event Data

The LegendItemCreating event's data class is LegendItemCreatingEventArgs. The following properties provide information specific to this event:

Property Description
Index Returns the index of the legend item being created.
Item Returns the legend item being created.
Legend Provides access to the legend for which a new item has been created.
See Also