Back to Devexpress

ChartHitInfoBase.HitObjects Property

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

latest1.9 KB
Original Source

ChartHitInfoBase.HitObjects Property

Gets a collection of objects which represent all the visual elements located under the test point.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public virtual object[] HitObjects { get; }
vb
Public Overridable ReadOnly Property HitObjects As Object()

Property Value

TypeDescription
Object[]

A collection of Objects which represent all the chart elements under the test point.

|

Remarks

Use the HitObjects property to access all the chart elements located under the test point. Note that the elements in the collection are located in the reversed order of how they’re drawn on a chart’s surface. Hence, the topmost element has 0 index in the collection, and the bottommost element has the last index in the collection.

Note

If you need to get the topmost chart element located under the test point only, not the all chart elements, you should use the ChartHitInfoBase.HitObject property instead.

See Also

HitObject

ChartHitInfoBase Class

ChartHitInfoBase Members

DevExpress.XtraCharts Namespace