Back to Devexpress

XYDiagram2D.CanScrollHorizontally(Int32) Method

wpf-devexpress-dot-xpf-dot-charts-dot-xydiagram2d-dot-canscrollhorizontally-x28-system-dot-int32-x29.md

latest1.5 KB
Original Source

XYDiagram2D.CanScrollHorizontally(Int32) Method

Checks whether it is possible to horizontally scroll a diagram.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public bool CanScrollHorizontally(
    int dx
)
vb
Public Function CanScrollHorizontally(
    dx As Integer
) As Boolean

Parameters

NameTypeDescription
dxInt32

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

|

Returns

TypeDescription
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

XYDiagram2D Class

XYDiagram2D Members

DevExpress.Xpf.Charts Namespace