Skip to main content
A newer version of this page is available. .

XYDiagram2D.CanScrollHorizontally(Int32) Method

Checks whether it is possible to horizontally scroll a diagram.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

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