NavigationLock Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A component that can be used to intercept navigation events.
C#
public sealed class NavigationLock : IAsyncDisposable, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRender
type NavigationLock = class
interface IComponent
interface IHandleAfterRender
interface IAsyncDisposable
Public NotInheritable Class NavigationLock
Implements IAsyncDisposable, IComponent, IHandleAfterRender
- Inheritance
-
NavigationLock
- Implements
Confirm |
Gets or sets whether a browser dialog should prompt the user to either confirm or cancel external navigations. |
On |
Gets or sets a callback to be invoked when an internal navigation event occurs. |
IAsync |
|
IComponent. |
|
IComponent. |
|
IHandle |
Product | Versions |
---|---|
ASP.NET Core | 7.0, 8.0, 9.0 |