HitTestResult.Object Property

Definition

Gets or sets the object, if any, returned by a hit test.

C#
public object Object { get; set; }

Property Value

An object of type Object, otherwise null.

Remarks

If a chart element is located at the point that is checked by the hit test, this property will reference that chart element, otherwise the value of this property will be null.

Observação

If a data point is returned by the hit test, this property will still return a null. To obtain information about the data point, use the PointIndex and Series properties instead.

Applies to

Produto Versões
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1