Class AutoGenerateBaseAttribute
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
AutoGenerateColumn 标签基类,用于 Table<TItem> 标识自动生成列
public abstract class AutoGenerateBaseAttribute : Attribute
- Inheritance
-
AutoGenerateBaseAttribute
- Derived
- Inherited Members
- Extension Methods
Constructors
AutoGenerateBaseAttribute()
protected AutoGenerateBaseAttribute()
Properties
Align
获得/设置 文字对齐方式 默认为 Alignment.None
public Alignment Align { get; set; }
Property Value
Editable
获得/设置 当前列是否可编辑 默认为 true 当设置为 false 时自动生成编辑 UI 不生成此列
[Obsolete("已弃用,是否显示使用 Visible 参数,新建时使用 IsVisibleWhenAdd 编辑时使用 IsVisibleWhenEdit; Discarded, use Visible parameter. IsVisibleWhenAdd should be used when creating a new one, and IsVisibleWhenEdit should be used when editing")]
public bool Editable { get; set; }
Property Value
Filterable
获得/设置 是否允许过滤数据 默认为 false
public bool Filterable { get; set; }
Property Value
Ignore
获得/设置 当前列是否渲染 默认为 false 当设置为 true 时 UI 不生成此列
public bool Ignore { get; set; }
Property Value
Readonly
获得/设置 当前编辑项是否只读 默认为 false
public bool Readonly { get; set; }
Property Value
Searchable
获得/设置 是否参与搜索 默认为 false
public bool Searchable { get; set; }
Property Value
ShowCopyColumn
获得/设置 是否可以拷贝列 默认 false 不可以
public bool ShowCopyColumn { get; set; }
Property Value
ShowTips
获得/设置 字段鼠标悬停提示 默认为 false
public bool ShowTips { get; set; }
Property Value
Sortable
获得/设置 是否允许排序 默认为 false
public bool Sortable { get; set; }
Property Value
TextEllipsis
获得/设置 本列文本超出省略 默认为 false
public bool TextEllipsis { get; set; }
Property Value
TextWrap
获得/设置 本列是否允许换行 默认为 false
public bool TextWrap { get; set; }
Property Value
Visible
获得/设置 当前编辑项是否显示 默认为 true
public bool Visible { get; set; }