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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI