ScrollView.ScrollToAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
ScrollToAsync(Double, Double, Boolean) |
Gibt eine Aufgabe zurück, die die Scrollansicht asynchron zu einer Position scrollt. |
ScrollToAsync(Element, ScrollToPosition, Boolean) |
Gibt eine Aufgabe zurück, die die Scrollansicht asynchron zu einem Element scrollt. |
ScrollToAsync(Double, Double, Boolean)
Gibt eine Aufgabe zurück, die die Scrollansicht asynchron zu einer Position scrollt.
public System.Threading.Tasks.Task ScrollToAsync (double x, double y, bool animated);
member this.ScrollToAsync : double * double * bool -> System.Threading.Tasks.Task
Parameter
- x
- System.Double
Die X-Position nach dem Scrollen.
- y
- System.Double
Die Y-Position nach dem Scrollen.
- animated
- System.Boolean
Gibt an, ob das Scrollen animiert werden soll.
Gibt zurück
Gilt für:
ScrollToAsync(Element, ScrollToPosition, Boolean)
Gibt eine Aufgabe zurück, die die Scrollansicht asynchron zu einem Element scrollt.
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
Parameter
- element
- Element
Das zu scrollende Element
- position
- ScrollToPosition
Die Scrollposition
- animated
- System.Boolean
Gibt an, ob das Scrollen animiert werden soll.