Class MessageOption
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
Message 组件配置类
public class MessageOption : PopupOptionBase
- Inheritance
-
MessageOption
- Inherited Members
- Extension Methods
Constructors
MessageOption()
public MessageOption()
Properties
ChildContent
获得/设置 内容模板 默认 null 设置此参数后 Content 将失效
public RenderFragment? ChildContent { get; set; }
Property Value
Color
获得/设置 颜色 默认 Primary
public Color Color { get; set; }
Property Value
Icon
获得/设置 显示图标 默认 null
public string? Icon { get; set; }
Property Value
OnDismiss
获得/设置 关闭当前 MessageItem 回调委托 默认 null
public Func<Task>? OnDismiss { get; set; }
Property Value
ShowBar
获得/设置 是否显示左侧 Bar 默认 false
public bool ShowBar { get; set; }
Property Value
ShowBorder
获得/设置 是否显示边框 默认 false 不显示
public bool ShowBorder { get; set; }
Property Value
ShowDismiss
获得/设置 是否显示关闭按钮 默认 false
public bool ShowDismiss { get; set; }
Property Value
ShowMode
获得/设置 消息显示模式,默认为 Multiple
public MessageShowMode ShowMode { get; set; }
Property Value
ShowShadow
获得/设置 是否显示阴影 默认 false 不显示
public bool ShowShadow { get; set; }