Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartControl.BeforeScroll Event

In This Article

Occurs before the diagram is scrolled.

Namespace: DevExpress.XtraCharts

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

NuGet Package: DevExpress.Win.Charts

#Declaration

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