Class Redirect
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
public class Redirect : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
- Inheritance
-
Redirect
- Implements
- Inherited Members
- Extension Methods
Constructors
Redirect()
public Redirect()
Properties
ForceLoad
获得/设置 是否强制导航 默认 true
[Parameter]
public bool ForceLoad { get; set; }
Property Value
Remarks
设置 false 时适用 SPA 程序不会强制页面重新加载
Url
获得/设置 登录地址 默认 Account/Login
[Parameter]
public string Url { get; set; }
Property Value
Methods
OnAfterRender(bool)
OnAfterRender 方法
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
bool