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

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.

See Also