ScrollView.ScrollToAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| Nome | Description |
|---|---|
| ScrollToAsync(Element, ScrollToPosition, Boolean) |
Rola até o elemento especificado de forma assíncrona. |
| ScrollToAsync(Double, Double, Boolean) |
Rola até a posição especificada de forma assíncrona. |
ScrollToAsync(Element, ScrollToPosition, Boolean)
- Origem:
- ScrollView.cs
- Origem:
- ScrollView.cs
- Origem:
- ScrollView.cs
- Origem:
- ScrollView.cs
Rola até o elemento especificado de forma assíncrona.
public:
System::Threading::Tasks::Task ^ ScrollToAsync(Microsoft::Maui::Controls::Element ^ element, Microsoft::Maui::Controls::ScrollToPosition position, bool animated);
public System.Threading.Tasks.Task ScrollToAsync(Microsoft.Maui.Controls.Element element, Microsoft.Maui.Controls.ScrollToPosition position, bool animated);
member this.ScrollToAsync : Microsoft.Maui.Controls.Element * Microsoft.Maui.Controls.ScrollToPosition * bool -> System.Threading.Tasks.Task
Public Function ScrollToAsync (element As Element, position As ScrollToPosition, animated As Boolean) As Task
Parâmetros
- element
- Element
O elemento a ser rolado.
- position
- ScrollToPosition
A posição de rolagem.
- animated
- Boolean
Se deseja ou não animar a rolagem.
Retornos
Aplica-se a
ScrollToAsync(Double, Double, Boolean)
- Origem:
- ScrollView.cs
- Origem:
- ScrollView.cs
- Origem:
- ScrollView.cs
- Origem:
- ScrollView.cs
Rola até a posição especificada de forma assíncrona.
public:
System::Threading::Tasks::Task ^ ScrollToAsync(double x, double y, bool animated);
public System.Threading.Tasks.Task ScrollToAsync(double x, double y, bool animated);
member this.ScrollToAsync : double * double * bool -> System.Threading.Tasks.Task
Public Function ScrollToAsync (x As Double, y As Double, animated As Boolean) As Task
Parâmetros
- x
- Double
A posição X da rolagem concluída.
- y
- Double
A posição Y da rolagem concluída.
- animated
- Boolean
Se deseja ou não animar a rolagem.