Bewerken

Share via


ChartArea.CursorX Property

Definition

Gets or sets a Cursor object that is used for cursors and selected ranges along the X-axis.

public:
 property System::Windows::Forms::DataVisualization::Charting::Cursor ^ CursorX { System::Windows::Forms::DataVisualization::Charting::Cursor ^ get(); void set(System::Windows::Forms::DataVisualization::Charting::Cursor ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.NoNameExpandableObjectConverter))]
public System.Windows.Forms.DataVisualization.Charting.Cursor CursorX { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.NoNameExpandableObjectConverter))>]
member this.CursorX : System.Windows.Forms.DataVisualization.Charting.Cursor with get, set
Public Property CursorX As Cursor

Property Value

A Cursor object used for cursors and selected ranges along the X-axis.

Attributes

Remarks

This Cursor object is used for the X-axis cursor and its selected ranges. For all charts except bar chart types, the X-axis cursor represents the vertical cursor. For bar chart types, the X-axis cursor represents the horizontal cursor.

Refer to the Cursor class documentation for a description of its members, as well as sample source code.

Applies to