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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.