A newer version of this page is available. Switch to the current version.

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.v18.2.dll


public LegendItemCreatingEventArgs(
    MapLegendBase legend,
    int index,
    MapLegendItemBase item


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.


Instances of the LegendItemCreatingEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also