Compartilhar via


ItemsView.ScrollTo Method

Definition

Overloads

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

ScrollTo(Int32, Int32, ScrollToPosition, Boolean)

Source:
ItemsView.cs
Source:
ItemsView.cs
public void ScrollTo (int index, int groupIndex = -1, Microsoft.Maui.Controls.ScrollToPosition position = Microsoft.Maui.Controls.ScrollToPosition.MakeVisible, bool animate = true);
member this.ScrollTo : int * int * Microsoft.Maui.Controls.ScrollToPosition * bool -> unit
Public Sub ScrollTo (index As Integer, Optional groupIndex As Integer = -1, Optional position As ScrollToPosition = Microsoft.Maui.Controls.ScrollToPosition.MakeVisible, Optional animate As Boolean = true)

Parameters

index
Int32
groupIndex
Int32
position
ScrollToPosition
animate
Boolean

Applies to

ScrollTo(Object, Object, ScrollToPosition, Boolean)

Source:
ItemsView.cs
Source:
ItemsView.cs
public void ScrollTo (object item, object group = default, Microsoft.Maui.Controls.ScrollToPosition position = Microsoft.Maui.Controls.ScrollToPosition.MakeVisible, bool animate = true);
member this.ScrollTo : obj * obj * Microsoft.Maui.Controls.ScrollToPosition * bool -> unit
Public Sub ScrollTo (item As Object, Optional group As Object = Nothing, Optional position As ScrollToPosition = Microsoft.Maui.Controls.ScrollToPosition.MakeVisible, Optional animate As Boolean = true)

Parameters

item
Object
group
Object
position
ScrollToPosition
animate
Boolean

Applies to