Back to Devexpress

ChartHitInfoBase.HitObject Property

corelibraries-devexpress-dot-xtracharts-dot-charthitinfobase-bb3bb00a.md

latest1.8 KB
Original Source

ChartHitInfoBase.HitObject Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public virtual object HitObject { get; }
vb
Public Overridable ReadOnly Property HitObject As Object

Property Value

TypeDescription
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 ChartHitInfoBase.HitObjects property instead.

See Also

HitObjects

ChartHitInfoBase Class

ChartHitInfoBase Members

DevExpress.XtraCharts Namespace