ChartHitInfo.HitObject Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public object HitObject { get; }
Public ReadOnly Property HitObject As Object

Property Value

Type Description
Object

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

Remarks

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.

NOTE

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