Router.OnNavigateAsync 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置在导航到新页面之前应调用的处理程序。
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)
属性值
- 属性