Skip to main content

ChartControl.BeforeScroll Event

Occurs before the diagram is scrolled.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.UI.dll

NuGet Package: DevExpress.Win.Charts


public event ChartBeforeScrollEventHandler BeforeScroll

Event Data

The BeforeScroll event's data class is ChartBeforeScrollEventArgs. The following properties provide information specific to this event:

Property Description
Axis Returns the axis whose visual range is changed when a user scrolls the chart.
Cancel Gets or sets the value that identifies whether the scrolling operation should be canceled.
NewRange Returns a new visual range for the axis.
See Also