共用方式為


Router.OnNavigateAsync 屬性

定義

取得或設定應該在巡覽至新頁面之前呼叫的處理常式。

public:
 property Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Routing::NavigationContext ^> OnNavigateAsync { Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Routing::NavigationContext ^> get(); void set(Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Routing::NavigationContext ^> value); };
[Microsoft.AspNetCore.Components.Parameter]
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Routing.NavigationContext> OnNavigateAsync { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.OnNavigateAsync : Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Routing.NavigationContext> with get, set
Public Property OnNavigateAsync As EventCallback(Of NavigationContext)

屬性值

屬性

適用於