Back to Devexpress

DXScrollView.ScrollBy(Double, Double, Boolean) Method

maui-devexpress-dot-maui-dot-core-dot-dxscrollview-dot-scrollby-x28-system-dot-double-system-dot-double-system-dot-boolean-x29.md

latest1.2 KB
Original Source

DXScrollView.ScrollBy(Double, Double, Boolean) Method

Scrolls the DXScrollView content by given horizontal and vertical displacement values.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public void ScrollBy(
    double dx,
    double dy,
    bool animated = false
)

Parameters

NameTypeDescription
dxDouble

Specifies the displacement in horizontal direction.

| | dy | Double |

Specifies the displacement in vertical direction.

|

Optional Parameters

NameTypeDefaultDescription
animatedBooleanFalse

Indicates whether the scroll action is animated.

|

See Also

DXScrollView Class

DXScrollView Members

DevExpress.Maui.Core Namespace