Compartilhar via


Router.OnNavigateAsync Propriedade

Definição

Obtém ou define um manipulador que deve ser chamado antes de navegar para uma nova página.

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)

Valor da propriedade

Atributos

Aplica-se a