Skip to main content
A newer version of this page is available.

ChartHitInfo.CustomLegendItem Property

Gets a custom legend item which is located under the test point.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

public CustomLegendItem CustomLegendItem { get; }

Property Value

Type Description
CustomLegendItem

A CustomLegendItem object which represents the item located under the test point.

Remarks

Use the CustomLegendItem property to access the item located under the test point if the ChartHitInfo.InCustomLegendItem property returns true. Note that if the ChartHitInfo.InCustomLegendItem is false, then the CustomLegendItem property returns null (Nothing in Visual Basic).

See Also