Interface ITableEditDialogOption<TModel>
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
Table 编辑配置接口
public interface ITableEditDialogOption<TModel>
Type Parameters
TModel
- Extension Methods
Properties
CloseButtonIcon
获得/设置 关闭按钮图标 默认 null 使用当前主题图标
string? CloseButtonIcon { get; set; }
Property Value
CloseButtonText
获得/设置 关闭按钮文本
string? CloseButtonText { get; set; }
Property Value
DialogBodyTemplate
获得/设置 EditDialog Body 模板
RenderFragment<TModel>? DialogBodyTemplate { get; set; }
Property Value
- RenderFragment<TModel>
DialogFooterTemplate
获得/设置 EditDialog Footer 模板
RenderFragment<TModel>? DialogFooterTemplate { get; set; }
Property Value
- RenderFragment<TModel>
DisableAutoSubmitFormByEnter
获得/设置 是否禁用表单内回车自动提交功能 默认 null 未设置
bool? DisableAutoSubmitFormByEnter { get; set; }
Property Value
- bool?
IsTracking
获得/设置 组件是否采用 Tracking 模式对编辑项进行直接更新 默认 false
bool IsTracking { get; set; }
Property Value
ItemChangedType
获得/设置 实体类编辑模式 Add 还是 Update
ItemChangedType ItemChangedType { get; set; }
Property Value
Items
获得 编辑项集合
IEnumerable<IEditorItem>? Items { get; set; }
Property Value
ItemsPerRow
获得/设置 每行显示组件数量 默认为 null
int? ItemsPerRow { get; set; }
Property Value
- int?
LabelAlign
获得/设置 设置 RowType Inline 模式下标签对齐方式 默认 None 等效于 Left 左对齐
Alignment LabelAlign { get; set; }
Property Value
Model
获得/设置 编辑框模型
TModel? Model { get; set; }
Property Value
- TModel
OnCloseAsync
获得/设置 关闭弹窗回调方法
Func<Task>? OnCloseAsync { get; set; }
Property Value
OnEditAsync
获得/设置 保存回调委托
Func<EditContext, Task<bool>>? OnEditAsync { get; set; }
Property Value
- Func<EditContext, Task<bool>>
RowType
获得/设置 设置行内组件布局格式 默认 Row 布局
RowType RowType { get; set; }
Property Value
SaveButtonIcon
获得/设置 保存按钮图标 默认 null 使用当前主题图标
string? SaveButtonIcon { get; set; }
Property Value
SaveButtonText
获得/设置 保存按钮文本
string? SaveButtonText { get; set; }
Property Value
ShowLabel
获得/设置 是否显示标签 默认为 true 显示标签
bool ShowLabel { get; set; }
Property Value
ShowLoading
获得/设置 查询时是否显示正在加载中动画 默认为 false
bool ShowLoading { get; set; }
Property Value
ShowUnsetGroupItemsOnTop
获得/设置 未分组编辑项布局位置 默认 false 在尾部
bool ShowUnsetGroupItemsOnTop { get; set; }