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

下拉框控件 更多...

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

属性

bool EnableClickAction [get, set]
 点击输入框是否触发默认行为
 
bool TopSpaceFirst [get, set]
 优先使用上部空间显示弹出框
 
virtual string EmptyText [get, set]
 文本框为空时显示的文本
 
bool EnableEdit [get, set]
 是否可编辑
 
string Text [get, set]
 选中项的文本
 
string[] Texts [get, set]
 选中项的文本
 
string Value [get, set]
 选中项的值
 
string[] Values [get, set]
 选中项的值
 
bool MatchFieldWidth [get, set]
 下拉框和字段的宽度相匹配
 
bool EnableMultiSelect [get, set]
 是否可以选择多项
 
string MultiSelectSeparator [get, set]
 选择多项的分隔符
 
string PopPanelID [get, set]
 弹出面板ID
 
virtual ControlBaseCollection PopPanel [get]
 弹出面板控件
 
string DataControlID [get, set]
 数据控件
 
bool CustomData [get, set]
 自定义数据来源
 
bool AutoShowClearIcon [get, set]
 自动显示清空图标
 
bool AlwaysDisplayPopPanel [get, set]
 总是显示弹出面板
 
bool IsUserInput [get]
 是否为用户自行输入值
 
- 属性 继承自 FineUICore.TextField
bool AutoComplete [get, set]
 启用表单字段的自动完成功能
 
bool EnablePrefix [get, set]
 启用前缀文本
 
string Prefix [get, set]
 前缀文本
 
bool EnableSuffix [get, set]
 启用后缀文本
 
string Suffix [get, set]
 后缀文本
 
bool ValidateForValue [get, set]
 对值进行验证(MinLength, MaxLength, Required, Regex, RegexPattern)
 
bool Required [get, set]
 是否必填项(对显示文本进行验证)
 
string RequiredMessage [get, set]
 为空时提示信息
 
int? MaxLength [get, set]
 最大长度(对显示文本进行验证)
 
string MaxLengthMessage [get, set]
 超过最大长度时提示信息
 
int? MinLength [get, set]
 最小长度(对显示文本进行验证)
 
string MinLengthMessage [get, set]
 少于最小长度时提示信息
 
RegexPattern RegexPattern [get, set]
 正则表达式常用类型(对显示文本进行验证)
 
string Regex [get, set]
 正则表达式(对显示文本进行验证)
 
string RegexMessage [get, set]
 不满足正则表达式时提示信息
 
bool RegexIgnoreCase [get, set]
 正则表达式是否忽略大小写
 
string CompareControl [get, set]
 需要比较的控件(对值进行验证)
 
string CompareValue [get, set]
 需要比较的值(对值进行验证)
 
Operator CompareOperator [get, set]
 比较操作符
 
CompareType CompareType [get, set]
 比较的类型
 
string CompareMessage [get, set]
 不满足比较条件时提示信息
 
virtual string NextFocusControl [get, set]
 响应回车键获得焦点的控件
 
virtual string NextClickControl [get, set]
 响应回车键自动点击的控件
 
- 属性 继承自 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]
 服务端事件列表
 

额外继承的成员函数

- 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.Component
void ApplyStyles (string styles)
 设置控件样式
 
void AddCssClass (string cssClass)
 添加控件样式类
 
void RemoveCssClass (string cssClass)
 删除控件样式类
 
- 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)
 获取回发页面的客户端脚本
 
virtual string GetHideReference ()
 获取隐藏控件的客户端脚本
 
virtual string GetShowReference ()
 获取显示控件的客户端脚本
 

详细描述

下拉框控件

属性说明

◆ AlwaysDisplayPopPanel

bool FineUICore.DropDownBox.AlwaysDisplayPopPanel
getset

总是显示弹出面板

◆ AutoShowClearIcon

bool FineUICore.DropDownBox.AutoShowClearIcon
getset

自动显示清空图标

◆ CustomData

bool FineUICore.DropDownBox.CustomData
getset

自定义数据来源

◆ DataControlID

string FineUICore.DropDownBox.DataControlID
getset

数据控件

◆ EmptyText

virtual string FineUICore.DropDownBox.EmptyText
getset

文本框为空时显示的文本

◆ EnableClickAction

bool FineUICore.DropDownBox.EnableClickAction
getset

点击输入框是否触发默认行为

◆ EnableEdit

bool FineUICore.DropDownBox.EnableEdit
getset

是否可编辑

◆ EnableMultiSelect

bool FineUICore.DropDownBox.EnableMultiSelect
getset

是否可以选择多项

◆ IsUserInput

bool FineUICore.DropDownBox.IsUserInput
get

是否为用户自行输入值

◆ MatchFieldWidth

bool FineUICore.DropDownBox.MatchFieldWidth
getset

下拉框和字段的宽度相匹配

◆ MultiSelectSeparator

string FineUICore.DropDownBox.MultiSelectSeparator
getset

选择多项的分隔符

◆ PopPanel

virtual ControlBaseCollection FineUICore.DropDownBox.PopPanel
get

弹出面板控件

◆ PopPanelID

string FineUICore.DropDownBox.PopPanelID
getset

弹出面板ID

◆ Text

string FineUICore.DropDownBox.Text
getset

选中项的文本

◆ Texts

string [] FineUICore.DropDownBox.Texts
getset

选中项的文本

◆ TopSpaceFirst

bool FineUICore.DropDownBox.TopSpaceFirst
getset

优先使用上部空间显示弹出框

◆ Value

string FineUICore.DropDownBox.Value
getset

选中项的值

◆ Values

string [] FineUICore.DropDownBox.Values
getset

选中项的值


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