ItemsView.ScrollTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.