Shell.GoToAsync Yöntem

Tanım

Aşırı Yüklemeler

Name Description
GoToAsync(ShellNavigationState, Boolean, IDictionary<String,Object>)

Animasyon denetimi ve isteğe bağlı parametrelerle zaman uyumsuz olarak belirtilen duruma gider.

GoToAsync(ShellNavigationState, IDictionary<String,Object>)

İsteğe bağlı parametrelerle zaman uyumsuz olarak belirtilen duruma gider.

GoToAsync(ShellNavigationState, Boolean, ShellNavigationQueryParameters)

Bu yöntem, öğesine ShellNavigationState gider ve döndürür Task.

GoToAsync(ShellNavigationState, ShellNavigationQueryParameters)

Bu yöntem, öğesine ShellNavigationState gider ve gezinti animasyonu tamamlandıktan sonra tamamlanacak bir Task döndürür.

GoToAsync(ShellNavigationState, Boolean)

Animasyon denetimiyle belirtilen state öğesine zaman uyumsuz olarak gider.

GoToAsync(ShellNavigationState)

Zaman uyumsuz olarak belirtilen stateöğesine gider.

GoToAsync(ShellNavigationState, Boolean, IDictionary<String,Object>)

Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs

Animasyon denetimi ve isteğe bağlı parametrelerle zaman uyumsuz olarak belirtilen duruma gider.

public:
 System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, bool animate, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ parameters);
public System.Threading.Tasks.Task GoToAsync(Microsoft.Maui.Controls.ShellNavigationState state, bool animate, System.Collections.Generic.IDictionary<string,object> parameters);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * bool * System.Collections.Generic.IDictionary<string, obj> -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, animate As Boolean, parameters As IDictionary(Of String, Object)) As Task

Parametreler

state
ShellNavigationState

Gidecek kabuk gezinti durumu.

animate
Boolean

Gezinti geçişine animasyon uygulanıp uygulanmayacağı.

parameters
IDictionary<String,Object>

Hedef sayfaya geçirmek için isteğe bağlı parametreler.

Döndürülenler

Zaman uyumsuz gezinti işlemini temsil eden görev.

Açıklamalar

ve'den ShellNavigationStatestringörtük dönüştürmeler olduğuna dikkat Uri edin, bu nedenle geliştiriciler aşağıdaki gibi bir kod yazabilir ve bunun için açık bir örneği ShellNavigationStateyoktur:

await Shell.Current.GoToAsync("app://xamarin.com/xaminals/animals/monkeys");

Şunlara uygulanır

GoToAsync(ShellNavigationState, IDictionary<String,Object>)

Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs

İsteğe bağlı parametrelerle zaman uyumsuz olarak belirtilen duruma gider.

public:
 System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ parameters);
public System.Threading.Tasks.Task GoToAsync(Microsoft.Maui.Controls.ShellNavigationState state, System.Collections.Generic.IDictionary<string,object> parameters);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * System.Collections.Generic.IDictionary<string, obj> -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, parameters As IDictionary(Of String, Object)) As Task

Parametreler

state
ShellNavigationState

Gidecek kabuk gezinti durumu.

parameters
IDictionary<String,Object>

Hedef sayfaya geçirmek için isteğe bağlı parametreler.

Döndürülenler

Zaman uyumsuz gezinti işlemini temsil eden görev.

Şunlara uygulanır

GoToAsync(ShellNavigationState, Boolean, ShellNavigationQueryParameters)

Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs

Bu yöntem, öğesine ShellNavigationState gider ve döndürür Task.

public:
 System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, bool animate, Microsoft::Maui::Controls::ShellNavigationQueryParameters ^ shellNavigationQueryParameters);
public System.Threading.Tasks.Task GoToAsync(Microsoft.Maui.Controls.ShellNavigationState state, bool animate, Microsoft.Maui.Controls.ShellNavigationQueryParameters shellNavigationQueryParameters);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * bool * Microsoft.Maui.Controls.ShellNavigationQueryParameters -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, animate As Boolean, shellNavigationQueryParameters As ShellNavigationQueryParameters) As Task

Parametreler

state
ShellNavigationState

Shell'in gidecek yolunu tanımlar.

animate
Boolean

Geçişinizin animasyonlu olup olmadığını gösterir

shellNavigationQueryParameters
ShellNavigationQueryParameters

Bu özel gezinti işlemi için kullanılacak parametreler.

Döndürülenler

Şunlara uygulanır

GoToAsync(ShellNavigationState, ShellNavigationQueryParameters)

Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs

Bu yöntem, öğesine ShellNavigationState gider ve gezinti animasyonu tamamlandıktan sonra tamamlanacak bir Task döndürür.

public:
 System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, Microsoft::Maui::Controls::ShellNavigationQueryParameters ^ shellNavigationQueryParameters);
public System.Threading.Tasks.Task GoToAsync(Microsoft.Maui.Controls.ShellNavigationState state, Microsoft.Maui.Controls.ShellNavigationQueryParameters shellNavigationQueryParameters);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * Microsoft.Maui.Controls.ShellNavigationQueryParameters -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, shellNavigationQueryParameters As ShellNavigationQueryParameters) As Task

Parametreler

state
ShellNavigationState

Shell'in gidecek yolunu tanımlar.

shellNavigationQueryParameters
ShellNavigationQueryParameters

Bu özel gezinti işlemi için kullanılacak parametreler.

Döndürülenler

Şunlara uygulanır

GoToAsync(ShellNavigationState, Boolean)

Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs

Animasyon denetimiyle belirtilen state öğesine zaman uyumsuz olarak gider.

public:
 System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state, bool animate);
public System.Threading.Tasks.Task GoToAsync(Microsoft.Maui.Controls.ShellNavigationState state, bool animate);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState * bool -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState, animate As Boolean) As Task

Parametreler

state
ShellNavigationState

Gidecek kabuk gezinti durumu.

animate
Boolean

Gezinti geçişine animasyon uygulanıp uygulanmayacağı.

Döndürülenler

Zaman uyumsuz gezinti işlemini temsil eden görev.

Açıklamalar

ve'den ShellNavigationStatestringörtük dönüştürmeler olduğuna dikkat Uri edin, bu nedenle geliştiriciler aşağıdaki gibi bir kod yazabilir ve bunun için açık bir örneği ShellNavigationStateyoktur:

await Shell.Current.GoToAsync("app://xamarin.com/xaminals/animals/monkeys");

Şunlara uygulanır

GoToAsync(ShellNavigationState)

Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs
Kaynak:
Shell.cs

Zaman uyumsuz olarak belirtilen stateöğesine gider.

public:
 System::Threading::Tasks::Task ^ GoToAsync(Microsoft::Maui::Controls::ShellNavigationState ^ state);
public System.Threading.Tasks.Task GoToAsync(Microsoft.Maui.Controls.ShellNavigationState state);
member this.GoToAsync : Microsoft.Maui.Controls.ShellNavigationState -> System.Threading.Tasks.Task
Public Function GoToAsync (state As ShellNavigationState) As Task

Parametreler

state
ShellNavigationState

Gidecek kabuk gezinti durumu.

Döndürülenler

Zaman uyumsuz gezinti işlemini temsil eden görev.

Şunlara uygulanır