LegendItemCreatingEventArgs(MapLegendBase, Int32, MapLegendItemBase) Constructor
Initializes a new instance of the LegendItemCreatingEventArgs class with the specified values of event arguments.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
public LegendItemCreatingEventArgs(
MapLegendBase legend,
int index,
MapLegendItemBase item
)
Parameters
Name | Type | Description |
---|---|---|
legend | MapLegendBase | A MapLegendBase class descendant specifying the owner of the legend item. This object is assigned to the LegendItemCreatingEventArgs.Legend property. |
index | Int32 | An integer value specifying the index of the created legend item. This value is assigned to the LegendItemCreatingEventArgs.Index property. |
item | MapLegendItemBase | A MapLegendItemBase class descendant specifying the created legend item. This object is assigned to the LegendItemCreatingEventArgs.Item property. |
Remarks
Instances of the LegendItemCreatingEventArgs class are automatically created, initialized and passed to the corresponding event handlers.