Redigera

Dela via


Cursor.AutoScroll Property

Definition

Gets or sets a flag that determines whether scrolling will occur if a range selection operation extends beyond a boundary of the chart area.

public:
 property bool AutoScroll { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
public bool AutoScroll { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.AutoScroll : bool with get, set
Public Property AutoScroll As Boolean

Property Value

true if the data view can be scrolled automatically; otherwise, false.

Attributes

Remarks

If a data view does not display all data points in a plotted series and a range is being selected by the user, automatic scrolling of the view will occur if this property is true and the mouse - and therefore the cursor - is moved outside the chart area boundary.

Scrolling will only occur along an axis if there is more data available to be viewed.

A data view that does not display all data usually results if the end-user zooms into a subset of data. Views and zooming are implemented by the AxisScaleView class.

Applies to