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

XYDiagram2D.CanScrollHorizontally(Int32) Method

Checks whether it is possible to horizontally scroll a diagram.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public bool CanScrollHorizontally(
    int dx
)

#Parameters

Name Type Description
dx Int32

An integer value specifying how far it is necessary to scroll a diagram in a horizontal direction.

#Returns

Type Description
Boolean

true if it is allowed to scroll; otherwise, false.

#Remarks

To scroll the diagram in a horizontal direction, use the XYDiagram2D.ScrollHorizontally method.

See Also