Sdílet prostřednictvím


ItemsView.ScrollTo Method

Definition

Overloads

ScrollTo(Int32, Int32, ScrollToPosition, Boolean)
ScrollTo(Object, Object, ScrollToPosition, Boolean)

ScrollTo(Int32, Int32, ScrollToPosition, Boolean)

public void ScrollTo (int index, int groupIndex = -1, Xamarin.Forms.ScrollToPosition position = Xamarin.Forms.ScrollToPosition.MakeVisible, bool animate = true);
member this.ScrollTo : int * int * Xamarin.Forms.ScrollToPosition * bool -> unit

Parameters

index
System.Int32
groupIndex
System.Int32
position
ScrollToPosition
animate
System.Boolean

Applies to

ScrollTo(Object, Object, ScrollToPosition, Boolean)

public void ScrollTo (object item, object group = default, Xamarin.Forms.ScrollToPosition position = Xamarin.Forms.ScrollToPosition.MakeVisible, bool animate = true);
member this.ScrollTo : obj * obj * Xamarin.Forms.ScrollToPosition * bool -> unit

Parameters

item
System.Object
group
System.Object
position
ScrollToPosition
animate
System.Boolean

Applies to