Back to Devexpress

DXScrollView.ScrollTo(Double, Double, Boolean) Method

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

latest1.2 KB
Original Source

DXScrollView.ScrollTo(Double, Double, Boolean) Method

Scrolls the DXScrollView content to the specified position.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public void ScrollTo(
    double x,
    double y,
    bool animated = false
)

Parameters

NameTypeDescription
xDouble

Specifies the current scroll position in horizontal direction.

| | y | Double |

Specifies the current scroll position in vertical direction.

|

Optional Parameters

NameTypeDefaultDescription
animatedBooleanFalse

Indicates whether the scroll action is animated.

|

See Also

DXScrollView Class

DXScrollView Members

DevExpress.Maui.Core Namespace