Rediger

Del via


HitTestResult.Object Property

Definition

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

public:
 property System::Object ^ Object { System::Object ^ get(); void set(System::Object ^ value); };
public object Object { get; set; }
member this.Object : obj with get, set
Public Property Object As Object

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.

Note

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