This documentation is archived and is not being maintained.

HitTestResult::Object Property

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

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public:
property Object^ Object {
	Object^ get ();
	void set (Object^ value);
}

Property Value

Type: System::Object
An object of type Object, otherwise nullptr.

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 nullptr.

NoteNote

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

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: