ScrollView.ScrollToAsync ScrollView.ScrollToAsync Method

Definition

Overloads

ScrollToAsync(Double, Double, Boolean) ScrollToAsync(Double, Double, Boolean)

Returns a task that scrolls the scroll view to a position asynchronously.

ScrollToAsync(Element, ScrollToPosition, Boolean) ScrollToAsync(Element, ScrollToPosition, Boolean)

Returns a task that scrolls the scroll view to an element asynchronously.

ScrollToAsync(Double, Double, Boolean) ScrollToAsync(Double, Double, Boolean)

Returns a task that scrolls the scroll view to a position asynchronously.

public System.Threading.Tasks.Task ScrollToAsync (double x, double y, bool animated);
member this.ScrollToAsync : double * double * bool -> System.Threading.Tasks.Task

Parameters

x
Double Double

The X position of the finished scroll.

y
Double Double

The Y position of the finished scroll.

animated
Boolean Boolean

Whether or not to animate the scroll.

Returns

ScrollToAsync(Element, ScrollToPosition, Boolean) ScrollToAsync(Element, ScrollToPosition, Boolean)

Returns a task that scrolls the scroll view to an element asynchronously.

public System.Threading.Tasks.Task ScrollToAsync (Xamarin.Forms.Element element, Xamarin.Forms.ScrollToPosition position, bool animated);
member this.ScrollToAsync : Xamarin.Forms.Element * Xamarin.Forms.ScrollToPosition * bool -> System.Threading.Tasks.Task

Parameters

element
Element Element

The element to scroll.

position
ScrollToPosition ScrollToPosition

The scroll position.

animated
Boolean Boolean

Whether or not to animate the scroll.

Returns

Applies to