Back to Devexpress

MapControl.LegendItemCreating Event

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-66faf694.md

latest1.4 KB
Original Source

MapControl.LegendItemCreating Event

Occurs when items are being created for the legend.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public event LegendItemCreatingEventHandler LegendItemCreating
vb
Public Event LegendItemCreating As LegendItemCreatingEventHandler

Event Data

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

PropertyDescription
IndexReturns the index of the legend item being created.
ItemReturns the legend item being created.
LegendProvides access to the legend for which a new item has been created.

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace