Skip to main content
All docs
V25.1
  • ChartHitInfoBase.HitObject Property

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

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.Charts

    Declaration

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

    See Also