HitTestResult.Axis Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property System::Windows::Forms::DataVisualization::Charting::Axis ^ Axis { System::Windows::Forms::DataVisualization::Charting::Axis ^ get(); void set(System::Windows::Forms::DataVisualization::Charting::Axis ^ value); };
public System.Windows.Forms.DataVisualization.Charting.Axis Axis { get; set; }
member this.Axis : System.Windows.Forms.DataVisualization.Charting.Axis with get, set
Public Property Axis As Axis
Property Value
An Axis object, otherwise null
. The default value is null
.
Remarks
If the chart object returned by the hit test is an object that is associated with an axis - for example, a scrollbar element, tick mark, grid line or strip line - the Axis property will reference the Axis object with which the returned chart object is associated. Otherwise this property will be null
.
Note that the HitTest method can be called explicitly, in which case a chart element may or may not be at the specified location.
Applies to
.NET