Dela via


Router.OnNavigateAsync Property

Definition

Gets or sets a handler that should be called before navigating to a new page.

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)

Property Value

Attributes

Applies to