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

LegendCollectionModel.Item[Int32] Property

Returns a legend model by its zero-based index.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v24.2.Wizard.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

public LegendModel this[int index] { get; }

#Parameters

Name Type Description
index Int32

The zero-based index.

#Property Value

Type Description
LegendModel

The legend model.

#Remarks

If the parameter value is negative or exceeds the maximum available index, an exception is raised.

See Also