ChartHitInfo.HitObject Property

Gets an object which represents the topmost visual element located under the test point.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll


public object HitObject { get; }

Property Value

Type Description

A Object which represents the topmost element under the test point.


Use the HitObject property to access the topmost chart element located under the test point. The type of this chart element can be accessed via the HotTrackEventArgs.HitInfo property.


If you need to get all the chart elements located under the test point, not only the topmost one, you should use the ChartHitInfo.HitObjects property instead.

See Also