FineUIMvc 11.7
企业级 ASP.NET MVC 控件库
|
表单文本输入框字段基类扩展 更多...
Public 成员函数 | |
TextFieldExtension (TextField source) | |
构造函数 | |
TExtension | EnablePrefix (bool param) |
启用前缀文本 | |
TExtension | Prefix (string param) |
前缀文本 | |
TExtension | EnableSuffix (bool param) |
启用后缀文本 | |
TExtension | Suffix (string param) |
后缀文本 | |
TExtension | ValidateForValue (bool param) |
对值进行验证(MinLength, MaxLength, Required, Regex, RegexPattern) | |
TExtension | MaxLength (int? param) |
最大长度 | |
TExtension | MinLength (int? param) |
最小长度 | |
TExtension | Required (bool param) |
TExtension | RequiredMessage (string param) |
TExtension | MaxLengthMessage (string param) |
TExtension | MinLengthMessage (string param) |
TExtension | RegexPattern (RegexPattern param) |
TExtension | Regex (string param) |
TExtension | RegexMessage (string param) |
TExtension | RegexIgnoreCase (bool param) |
TExtension | CompareControl (string param) |
TExtension | CompareValue (string param) |
TExtension | CompareOperator (Operator param) |
TExtension | CompareType (CompareType param) |
TExtension | CompareMessage (string param) |
TExtension | NextFocusControl (string param) |
TExtension | NextClickControl (string param) |
TExtension | OnClientBlur (string param) |
失去焦点时需要执行的客户端脚本 | |
Public 成员函数 继承自 FineUIMvc.FieldExtension< T, TExtension > | |
FieldExtension (Field source) | |
构造函数 | |
TExtension | Name (string param) |
TExtension | TabIndex (short? param) |
Tab按键的跳转顺序(仅对输入框控件有效) | |
TExtension | ValidatorFunction (string param) |
客户端验证函数(JavaScript函数) | |
TExtension | ShowLabel (bool param) |
TExtension | ShowEmptyLabel (bool param) |
TExtension | Label (string param) |
TExtension | ShowRedStar (bool param) |
TExtension | Readonly (bool param) |
TExtension | LabelAlign (LabelAlign? param) |
表单中标签的位置 | |
TExtension | LabelWidth (int? param) |
标签的宽度 | |
TExtension | LabelSeparator (string param) |
TExtension | EnableValidateTrim (bool param) |
Public 成员函数 继承自 FineUIMvc.BoxComponentExtension< T, TExtension > | |
BoxComponentExtension (BoxComponent source) | |
构造函数 | |
TExtension | Width (int? param) |
TExtension | Height (int? param) |
TExtension | AnchorValue (string param) |
TExtension | ColumnWidth (string param) |
TExtension | AbsoluteX (int? param) |
TExtension | AbsoluteY (int? param) |
TExtension | TableConfigColumns (int param) |
TExtension | TableRowspan (int param) |
TExtension | TableColspan (int param) |
TExtension | BoxConfigAlign (BoxLayoutAlign param) |
TExtension | BoxConfigPosition (BoxLayoutPosition param) |
TExtension | BoxConfigPadding (string param) |
TExtension | BoxConfigChildMargin (string param) |
TExtension | BoxConfigChildMargin (int param) |
子控件的外边距(当本容器的Layout=VBox或者HBox时有效) | |
TExtension | BoxConfigLastChildMargin (string param) |
最后一个子控件的外边距(当本容器的Layout=VBox或者HBox时有效) | |
TExtension | BoxConfigLastChildMargin (int param) |
最后一个子控件的外边距(当本容器的Layout=VBox或者HBox时有效) | |
TExtension | BoxConfigPadding (int param) |
内边距(当本容器的Layout=VBox或者HBox时有效) | |
TExtension | BoxFlex (int param) |
TExtension | RegionSplit (bool param) |
TExtension | RegionSplitDraggable (bool param) |
区域分隔条是否可拖动 | |
TExtension | RegionSplitIcon (bool param) |
是否显示区域分隔条图标 | |
TExtension | RegionSplitTransparent (bool param) |
区域分隔条是否透明 | |
TExtension | RegionSplitWidth (int? param) |
TExtension | RegionPercent (string param) |
区域的百分比尺寸(当父容器的Layout=Region时有效) | |
TExtension | RegionSplitHeaderClass (bool param) |
TExtension | RegionPosition (Position param) |
TExtension | BlockConfigSpace (int? param) |
块间距(当本容器的Layout=Block时有效) | |
TExtension | BlockConfigBlockCount (int param) |
自定义总块数(当本容器的Layout=Block时有效) | |
TExtension | Block (int param) |
块大小,超小屏幕(当父容器的Layout=Block时有效) | |
TExtension | BlockSM (int param) |
块大小,小屏幕(当父容器的Layout=Block时有效) | |
TExtension | BlockMD (int param) |
块大小,中等屏幕(当父容器的Layout=Block时有效) | |
TExtension | BlockLG (int param) |
块大小,大屏幕(当父容器的Layout=Block时有效) | |
Public 成员函数 继承自 FineUIMvc.ComponentExtension< T, TExtension > | |
ComponentExtension (Component source) | |
构造函数 | |
TExtension | EncodeText (bool? param) |
是否在客户端进行HTML编码 | |
TExtension | FocusOnPageLoad (bool param) |
TExtension | CssClass (string param) |
TExtension | CssStyle (string param) |
TExtension | Margin (string param) |
TExtension | Margin (int? param) |
外边距 | |
TExtension | MarginRight (int? param) |
TExtension | MarginLeft (int? param) |
TExtension | MarginTop (int? param) |
TExtension | MarginBottom (int? param) |
Public 成员函数 继承自 FineUIMvc.ControlBaseExtension< T, TExtension > | |
ControlBaseExtension (ControlBase source) | |
构造函数 | |
TExtension | Attributes (JObject param) |
HTML标签属性 | |
TExtension | Attribute (string key, string value) |
HTML标签属性 | |
TExtension | AttributeDataTag (string param) |
HTML标签属性(data-tag) | |
TExtension | ID (string param) |
控件ID | |
TExtension | Enabled (bool param) |
是否可用 | |
TExtension | Hidden (bool param) |
是否隐藏控件 | |
TExtension | HideMode (HideMode param) |
隐藏模式 | |
TExtension | Listeners (params Listener[] param) |
客户端事件列表 | |
TExtension | Listener (string eventName, string handler) |
客户端事件 | |
virtual string | ToHtmlString () |
返回HTML编码的字符串 | |
属性 | |
new TextField | Source [get] |
当前控件 | |
属性 继承自 FineUIMvc.FieldExtension< T, TExtension > | |
new Field | Source [get] |
当前控件 | |
属性 继承自 FineUIMvc.BoxComponentExtension< T, TExtension > | |
new BoxComponent | Source [get] |
当前控件 | |
属性 继承自 FineUIMvc.ComponentExtension< T, TExtension > | |
new Component | Source [get] |
当前控件 | |
属性 继承自 FineUIMvc.ControlBaseExtension< T, TExtension > | |
ControlBase | Source [get] |
当前控件 | |
属性 继承自 FineUIMvc.IControlBaseExtension | |
属性 继承自 FineUIMvc.IFieldExtension |
表单文本输入框字段基类扩展
T | |
TExtension |
T | : | TextField | |
TExtension | : | TextFieldExtension | |
TExtension | : | T | |
TExtension | : | TExtension |
FineUIMvc.TextFieldExtension< T, TExtension >.TextFieldExtension | ( | TextField | source | ) |
构造函数
source |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.CompareControl | ( | string | param | ) |
需要比较的控件(对值进行验证)
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.CompareMessage | ( | string | param | ) |
不满足比较条件时提示信息
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.CompareOperator | ( | Operator | param | ) |
比较操作符
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.CompareType | ( | CompareType | param | ) |
比较的类型
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.CompareValue | ( | string | param | ) |
需要比较的值(对值进行验证)
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.EnablePrefix | ( | bool | param | ) |
启用前缀文本
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.EnableSuffix | ( | bool | param | ) |
启用后缀文本
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.MaxLength | ( | int? | param | ) |
最大长度
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.MaxLengthMessage | ( | string | param | ) |
超过最大长度时提示信息
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.MinLength | ( | int? | param | ) |
最小长度
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.MinLengthMessage | ( | string | param | ) |
少于最小长度时提示信息
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.NextClickControl | ( | string | param | ) |
响应回车键自动点击的控件
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.NextFocusControl | ( | string | param | ) |
响应回车键获得焦点的控件
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.OnClientBlur | ( | string | param | ) |
失去焦点时需要执行的客户端脚本
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.Prefix | ( | string | param | ) |
前缀文本
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.Regex | ( | string | param | ) |
正则表达式(对显示文本进行验证)
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.RegexIgnoreCase | ( | bool | param | ) |
正则表达式是否忽略大小写
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.RegexMessage | ( | string | param | ) |
不满足正则表达式时提示信息
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.RegexPattern | ( | RegexPattern | param | ) |
正则表达式常用类型(对显示文本进行验证)
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.Required | ( | bool | param | ) |
是否必填项(对显示文本进行验证)
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.RequiredMessage | ( | string | param | ) |
为空时提示信息
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.Suffix | ( | string | param | ) |
后缀文本
param |
TExtension FineUIMvc.TextFieldExtension< T, TExtension >.ValidateForValue | ( | bool | param | ) |
对值进行验证(MinLength, MaxLength, Required, Regex, RegexPattern)
param |
|
get |
当前控件