HitTestResult.SubObject Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the sub-object, if any, returned by a hit test.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public object SubObject { get; set; }

Property Value

Type: System.Object

A sub-object of type Object, otherwise null.

An example of a sub-object is an Axis object that is displayed inside a ChartArea object.

.NET Framework
Available since 4.0
Return to top