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

列表控件 更多...

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

Public 成员函数

void DataBind ()
 绑定到数据源
 
- 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)
 获取回发页面的客户端脚本
 

属性

int SelectedIndex [get, set]
 选中项的索引
 
string SelectedText [get]
 选中项的文本
 
DataListItem SelectedItem [get]
 选中项
 
string SelectedValue [get, set]
 选中项的值
 
string[] SelectedValueArray [get, set]
 选中项的值
 
int[] SelectedIndexArray [get, set]
 选中项的索引
 
DataListItem[] SelectedItemArray [get]
 选中项
 
bool ClickOnContextMenu [get, set]
 右键点击时选中当前节点(默认为true)
 
bool EnableMultiSelect [get, set]
 是否可以选择多项
 
bool KeepCurrentSelection [get, set]
 多选时保持当前已选中行
 
bool EnableGroup [get, set]
 是否启用分组显示
 
string DataEnableSelectField [get, set]
 是否可选择的字段
 
string DataGroupField [get, set]
 分组字段
 
string DataGroupFormatString [get, set]
 分组的格式化字符串
 
string DataTextField [get, set]
 文本字段
 
string DataTextFormatString [get, set]
 文本的格式化字符串
 
string DataValueField [get, set]
 值字段
 
object DataSource [get, set]
 数据源
 
bool EnableSelect [get, set]
 是否可选择
 
virtual DataListItemCollection Items [get]
 列表项集合
 
- 属性 继承自 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.DataList.DataBind ( )

绑定到数据源

属性说明

◆ ClickOnContextMenu

bool FineUICore.DataList.ClickOnContextMenu
getset

右键点击时选中当前节点(默认为true)

◆ DataEnableSelectField

string FineUICore.DataList.DataEnableSelectField
getset

是否可选择的字段

◆ DataGroupField

string FineUICore.DataList.DataGroupField
getset

分组字段

◆ DataGroupFormatString

string FineUICore.DataList.DataGroupFormatString
getset

分组的格式化字符串

◆ DataSource

object FineUICore.DataList.DataSource
getset

数据源

◆ DataTextField

string FineUICore.DataList.DataTextField
getset

文本字段

◆ DataTextFormatString

string FineUICore.DataList.DataTextFormatString
getset

文本的格式化字符串

◆ DataValueField

string FineUICore.DataList.DataValueField
getset

值字段

◆ EnableGroup

bool FineUICore.DataList.EnableGroup
getset

是否启用分组显示

◆ EnableMultiSelect

bool FineUICore.DataList.EnableMultiSelect
getset

是否可以选择多项

◆ EnableSelect

bool FineUICore.DataList.EnableSelect
getset

是否可选择

◆ Items

virtual DataListItemCollection FineUICore.DataList.Items
get

列表项集合

◆ KeepCurrentSelection

bool FineUICore.DataList.KeepCurrentSelection
getset

多选时保持当前已选中行

◆ SelectedIndex

int FineUICore.DataList.SelectedIndex
getset

选中项的索引

◆ SelectedIndexArray

int [] FineUICore.DataList.SelectedIndexArray
getset

选中项的索引

◆ SelectedItem

DataListItem FineUICore.DataList.SelectedItem
get

选中项

◆ SelectedItemArray

DataListItem [] FineUICore.DataList.SelectedItemArray
get

选中项

◆ SelectedText

string FineUICore.DataList.SelectedText
get

选中项的文本

◆ SelectedValue

string FineUICore.DataList.SelectedValue
getset

选中项的值

◆ SelectedValueArray

string [] FineUICore.DataList.SelectedValueArray
getset

选中项的值


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