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

ChartHitInfo.HitObject Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

public object HitObject { get; }

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