Skip to main content

LegendCollection.Contains(Legend) Method

Determines whether the collection contains the specified legend.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public bool Contains(
    Legend legend
)

Parameters

Name Type Description
legend Legend

A Legend object to locate in the collection.

Returns

Type Description
Boolean

true, if the collection contains the specified legend; otherwise, false.

See Also