NavigationLock Class 
Definition
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.
public sealed class NavigationLock : IAsyncDisposable, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleAfterRendertype NavigationLock = class
    interface IComponent
    interface IHandleAfterRender
    interface IAsyncDisposablePublic NotInheritable Class NavigationLock
Implements IAsyncDisposable, IComponent, IHandleAfterRender- Inheritance
- 
				NavigationLock
- Implements
Constructors
| NavigationLock() | 
Properties
| ConfirmExternalNavigation | Gets or sets whether a browser dialog should prompt the user to either confirm or cancel external navigations. | 
| OnBeforeInternalNavigation | Gets or sets a callback to be invoked when an internal navigation event occurs. | 
Explicit Interface Implementations
| IAsyncDisposable.DisposeAsync() | |
| IComponent.Attach(RenderHandle) | |
| IComponent.SetParametersAsync(ParameterView) | |
| IHandleAfterRender.OnAfterRenderAsync() |