Class DrawerOption
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
Drawer 弹出窗参数配置类
public class DrawerOption
- Inheritance
-
DrawerOption
- Inherited Members
- Extension Methods
Constructors
DrawerOption()
public DrawerOption()
Properties
AllowResize
获得/设置 是否允许调整大小 默认 false
public bool AllowResize { get; set; }
Property Value
ChildContent
获得/设置 子组件
public RenderFragment? ChildContent { get; set; }
Property Value
Class
获得/设置 Drawer 组件样式
public string? Class { get; set; }
Property Value
Height
获得/设置 抽屉高度 上下布局时生效
public string? Height { get; set; }
Property Value
IsBackdrop
获得/设置 点击遮罩是否关闭抽屉 默认为 false
public bool IsBackdrop { get; set; }
Property Value
OnClickBackdrop
获得/设置 点击背景遮罩时回调委托方法 默认为 null
public Func<Task>? OnClickBackdrop { get; set; }
Property Value
OnCloseAsync
获得/设置 关闭当前 Drawer 回调委托 默认 null
public Func<Task>? OnCloseAsync { get; set; }
Property Value
Placement
获得/设置 组件出现位置 默认显示在 Left 位置
public Placement Placement { get; set; }
Property Value
ShowBackdrop
获得/设置 是否显示遮罩 默认为 true 显示遮罩
public bool ShowBackdrop { get; set; }
Property Value
Width
获得/设置 抽屉宽度 左右布局时生效
public string? Width { get; set; }