FineUICore 10.0
企业级 ASP.NET Core 控件库
载入中...
搜索中...
未找到
FineUICore.CheckBoxList类 参考

复选框列表控件 更多...

类 FineUICore.CheckBoxList 继承关系图:
FineUICore.Field FineUICore.BoxComponent FineUICore.Component FineUICore.ControlBase

Public 成员函数

void DataBind ()
 绑定到数据源
 
- Public 成员函数 继承自 FineUICore.Field
void Reset ()
 重置此字段的值(比如用来清空FileUpload的内容)
 
virtual string GetResetReference ()
 获取重置此字段的客户端脚本
 
virtual string GetValueReference ()
 获取此字段值的客户端脚本(注意返回的脚本不带结束分号)
 
void MarkInvalid (string message)
 设置字段验证失败的提示信息
 
void ClearInvalid ()
 清除验证失败的提示信息
 
string GetMarkInvalidReference (string message)
 获取字段验证失败提示信息的客户端脚本
 
string GetClearInvalidReference ()
 获取清除验证失败提示信息的客户端脚本
 
void Focus ()
 使控件获得焦点
 
void Focus (bool selectText)
 使控件获得焦点,并选中控件中的文本内容
 
void Focus (bool selectText, int delayMilliseconds)
 使控件获得焦点,并选中控件中的文本内容
 
string GetFocusReference ()
 获得使控件获得焦点的脚本
 
string GetFocusReference (bool selectText)
 获得使控件获得焦点,并选中控件中的文本内容的脚本
 
string GetFocusReference (bool selectText, int delayMilliseconds)
 获得使控件获得焦点,并选中控件中的文本内容的脚本
 
- Public 成员函数 继承自 FineUICore.ControlBase
 ControlBase ()
 构造函数
 
bool PropertyModified (string propertyName)
 回发过程中此属性是否被改变
 
bool PropertyModified (params string[] propertyNames)
 回发过程中这些属性是否被改变
 
string GetPostBackEventReference ()
 获取回发页面的客户端脚本
 
string GetPostBackEventReference (string action)
 获取回发页面的客户端脚本
 
string GetPostBackEventReference (string action, ParameterCollection parameters)
 获取回发页面的客户端脚本
 
string GetPostBackEventReference (Event evt)
 获取回发页面的客户端脚本
 

属性

bool SwitchTextVisible [get, set]
 是否显示开关类型复选框的文本
 
string SwitchOnText [get, set]
 开关类型复选框的选中文本
 
string SwitchOffText [get, set]
 开关类型复选框的未选中文本
 
CheckBoxDisplayType DisplayType [get, set]
 复选框的显示类型
 
bool AutoColumnWidth [get, set]
 是否自适应列宽度
 
bool Required [get, set]
 是否必填项
 
string RequiredMessage [get, set]
 为空时提示信息
 
int ColumnNumber [get, set]
 渲染成几列
 
bool ColumnVertical [get, set]
 是否按照纵向顺序渲染
 
string DataEnabledField [get, set]
 是否启用的字段
 
string DataTextField [get, set]
 显示文本的数据字段
 
string DataTextFormatString [get, set]
 显示文本的格式化字符串
 
string DataValueField [get, set]
 显示值的数据字段
 
object DataSource [get, set]
 数据源
 
string[] SelectedValueArray [get, set]
 选中项的值
 
virtual CheckItemCollection Items [get]
 复选框集合
 
- 属性 继承自 FineUICore.Field
string Name [get, set]
 表单字段的名称
 
string ValidatorFunction [get, set]
 客户端验证函数(JavaScript函数)
 
bool ShowLabel [get, set]
 是否显示标签
 
bool ShowEmptyLabel [get, set]
 是否显示空白的标签
 
string Label [get, set]
 标签文本
 
bool ShowRedStar [get, set]
 用来标识必填项的红色星号
 
virtual bool Readonly [get, set]
 表单控件的只读状态
 
virtual ? short TabIndex [get, set]
 Tab按键的跳转顺序
 
string LabelSeparator [get, set]
 表单中字段与标签的分隔符
 
LabelAlignLabelAlign [get, set]
 表单中标签的位置
 
int? OffsetRight [get, set]
 距离右侧边界的宽度(相当于设置CSS样式margin-right)
 
int? LabelWidth [get, set]
 标签的宽度
 
bool EnableValidateTrim [get, set]
 验证时去除文本的前后空白字符
 
- 属性 继承自 FineUICore.BoxComponent
int? Width [get, set]
 宽度
 
int? Height [get, set]
 高度
 
string AnchorValue [get, set]
 锚点值(当父容器的Layout=Anchor时有效)
 
string ColumnWidth [get, set]
 列的宽度(当父容器的Layout=Column时有效)
 
int? AbsoluteX [get, set]
 绝对定位的X坐标(当父容器的Layout=Absolute时有效)
 
int? AbsoluteY [get, set]
 绝对定位的Y坐标(当父容器的Layout=Absolute时有效)
 
int TableConfigColumns [get, set]
 表格列数(当父容器的Layout=Table时有效)
 
int TableRowspan [get, set]
 表格合并行(当父容器的Layout=Table时有效)
 
int TableColspan [get, set]
 表格合并列(当父容器的Layout=Table时有效)
 
BoxLayoutAlign BoxConfigAlign [get, set]
 控制子控件的位置(当本容器的Layout=VBox或者HBox时有效)
 
BoxLayoutPosition BoxConfigPosition [get, set]
 控制子控件的位置(当本容器的Layout=VBox或者HBox时有效)
 
string BoxConfigPadding [get, set]
 内边距(当本容器的Layout=VBox或者HBox时有效)
 
string BoxConfigChildMargin [get, set]
 子控件的外边距(当本容器的Layout=VBox或者HBox时有效)
 
string BoxConfigLastChildMargin [get, set]
 最后一个子控件的外边距(当本容器的Layout=VBox或者HBox时有效)
 
int BoxFlex [get, set]
 控制子控件的尺寸(当父容器的Layout=VBox或者HBox时有效)
 
bool RegionSplit [get, set]
 是否启用区域分隔条
 
bool RegionSplitDraggable [get, set]
 区域分隔条是否可拖动
 
bool RegionSplitIcon [get, set]
 是否显示区域分隔条图标
 
bool RegionSplitTransparent [get, set]
 区域分隔条是否透明
 
int? RegionSplitWidth [get, set]
 区域分隔条的宽度
 
string RegionPercent [get, set]
 区域的百分比尺寸(当父容器的Layout=Region时有效)
 
bool RegionSplitHeaderClass [get, set]
 是否为区域分隔条使用表头样式
 
Position RegionPosition [get, set]
 区域所在的位置
 
int? BlockConfigSpace [get, set]
 块间距(当本容器的Layout=Block时有效)
 
int BlockConfigBlockCount [get, set]
 自定义总块数(当本容器的Layout=Block时有效)
 
int Block [get, set]
 块大小,超小屏幕(当父容器的Layout=Block时有效)
 
int BlockSM [get, set]
 块大小,小屏幕(当父容器的Layout=Block时有效)
 
int BlockMD [get, set]
 块大小,中等屏幕(当父容器的Layout=Block时有效)
 
int BlockLG [get, set]
 块大小,大屏幕(当父容器的Layout=Block时有效)
 
- 属性 继承自 FineUICore.Component
virtual ? bool EncodeText [get, set]
 是否在客户端进行HTML编码
 
virtual bool FocusOnPageLoad [get, set]
 页面加载后立即获得焦点
 
virtual string CssClass [get, set]
 控件样式类名
 
virtual string CssStyle [get, set]
 控件样式
 
string Margin [get, set]
 外边距
 
int? MarginRight [get, set]
 右侧外边距
 
int? MarginLeft [get, set]
 左侧外边距
 
int? MarginTop [get, set]
 顶部外边距
 
int? MarginBottom [get, set]
 底部外边距
 
- 属性 继承自 FineUICore.ControlBase
string ProductName [get]
 产品名称
 
virtual string ProductVersion [get]
 产品版本
 
virtual JObject Attributes [get, set]
 HTML标签属性
 
string AttributeDataTag [get, set]
 HTML标签属性(data-tag)
 
string WrapperID [get]
 控件外部容器的客户端ID(比如:Button1_wrapper)
 
string ID [get, set]
 控件ID
 
virtual bool Enabled [get, set]
 是否可用
 
virtual bool Hidden [get, set]
 是否隐藏控件
 
virtual HideMode HideMode [get, set]
 隐藏模式
 
bool IsFineUIAjaxPostBack [get]
 是否处于FineUI的AJAX回发过程
 
bool IsFineUICoreAjaxPostBack [get]
 是否处于FineUI的AJAX回发过程
 
virtual ListenerCollection Listeners [get, set]
 客户端事件列表
 
virtual EventCollection Events [get, set]
 服务端事件列表
 

详细描述

复选框列表控件

成员函数说明

◆ DataBind()

void FineUICore.CheckBoxList.DataBind ( )

绑定到数据源

属性说明

◆ AutoColumnWidth

bool FineUICore.CheckBoxList.AutoColumnWidth
getset

是否自适应列宽度

◆ ColumnNumber

int FineUICore.CheckBoxList.ColumnNumber
getset

渲染成几列

◆ ColumnVertical

bool FineUICore.CheckBoxList.ColumnVertical
getset

是否按照纵向顺序渲染

◆ DataEnabledField

string FineUICore.CheckBoxList.DataEnabledField
getset

是否启用的字段

◆ DataSource

object FineUICore.CheckBoxList.DataSource
getset

数据源

◆ DataTextField

string FineUICore.CheckBoxList.DataTextField
getset

显示文本的数据字段

◆ DataTextFormatString

string FineUICore.CheckBoxList.DataTextFormatString
getset

显示文本的格式化字符串

◆ DataValueField

string FineUICore.CheckBoxList.DataValueField
getset

显示值的数据字段

◆ DisplayType

CheckBoxDisplayType FineUICore.CheckBoxList.DisplayType
getset

复选框的显示类型

◆ Items

virtual CheckItemCollection FineUICore.CheckBoxList.Items
get

复选框集合

◆ Required

bool FineUICore.CheckBoxList.Required
getset

是否必填项

◆ RequiredMessage

string FineUICore.CheckBoxList.RequiredMessage
getset

为空时提示信息

◆ SelectedValueArray

string [] FineUICore.CheckBoxList.SelectedValueArray
getset

选中项的值

◆ SwitchOffText

string FineUICore.CheckBoxList.SwitchOffText
getset

开关类型复选框的未选中文本

◆ SwitchOnText

string FineUICore.CheckBoxList.SwitchOnText
getset

开关类型复选框的选中文本

◆ SwitchTextVisible

bool FineUICore.CheckBoxList.SwitchTextVisible
getset

是否显示开关类型复选框的文本


该类的文档由以下文件生成: