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

数字输入框控件 更多...

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

属性

bool RateAllowClear [get, set]
 是否允许通过点击来清除评分
 
bool RateAllowHalf [get, set]
 是否允许半星评分
 
IconFont RateIconFont [get, set]
 评分图标字体
 
string RateIconFontClass [get, set]
 自定义评分图标字体的样式类
 
string RateCharacter [get, set]
 自定义评分字符
 
int RateCount [get, set]
 评分图标的个数
 
bool RateTextVisible [get, set]
 是否显示评分文本
 
string RateTextRendererFunction [get, set]
 自定义评分文本的渲染函数
 
NumberBoxTriggerType TriggerType [get, set]
 数字输入框触发图标的类型
 
NumberBoxDisplayType DisplayType [get, set]
 数字输入框的显示类型
 
int? ProgressHeight [get, set]
 进度条的高度
 
bool ProgressTextVisible [get, set]
 是否显示进度条文本
 
bool ProgressTextInside [get, set]
 是否将进度条文本显示在进度条内部
 
string NumberPrefix [get, set]
 数字前缀
 
string NumberSuffix [get, set]
 数字后缀
 
bool EnableCommas [get, set]
 是否启用千分位
 
bool EnableRound [get, set]
 是否启用四舍五入
 
bool ShowTrigger [get, set]
 是否显示触发器
 
double? Increment [get, set]
 增量
 
bool NoDecimal [get, set]
 不允许小数
 
bool NoNegative [get, set]
 不允许负数
 
double? MaxValue [get, set]
 最大值
 
double? MinValue [get, set]
 最小值
 
int DecimalPrecision [get, set]
 小数点后的位数(默认为2)
 
bool TrimEndZero [get, set]
 是否去除小数位后面的零
 
string DotSeparator [get, set]
 小数分隔符(默认为点号)
 
string CommaSeparator [get, set]
 千分位分隔符(默认为逗号)
 
- 属性 继承自 FineUICore.RealTextField
int ChangeEventDelay [get, set]
 触发change事件之前延迟的毫秒数(默认为500ms,如果设为0则不延迟)
 
string InputType [get, set]
 文本框类型,可设置HTML5属性(url, date, color, tel, number...)
 
virtual string EmptyText [get, set]
 文本框为空时显示的文本
 
virtual string Text [get, set]
 文本
 
- 属性 继承自 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.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)
 获取回发页面的客户端脚本
 

详细描述

数字输入框控件

属性说明

◆ CommaSeparator

string FineUICore.NumberBox.CommaSeparator
getset

千分位分隔符(默认为逗号)

◆ DecimalPrecision

int FineUICore.NumberBox.DecimalPrecision
getset

小数点后的位数(默认为2)

◆ DisplayType

NumberBoxDisplayType FineUICore.NumberBox.DisplayType
getset

数字输入框的显示类型

◆ DotSeparator

string FineUICore.NumberBox.DotSeparator
getset

小数分隔符(默认为点号)

◆ EnableCommas

bool FineUICore.NumberBox.EnableCommas
getset

是否启用千分位

◆ EnableRound

bool FineUICore.NumberBox.EnableRound
getset

是否启用四舍五入

◆ Increment

double? FineUICore.NumberBox.Increment
getset

增量

◆ MaxValue

double? FineUICore.NumberBox.MaxValue
getset

最大值

◆ MinValue

double? FineUICore.NumberBox.MinValue
getset

最小值

◆ NoDecimal

bool FineUICore.NumberBox.NoDecimal
getset

不允许小数

◆ NoNegative

bool FineUICore.NumberBox.NoNegative
getset

不允许负数

◆ NumberPrefix

string FineUICore.NumberBox.NumberPrefix
getset

数字前缀

◆ NumberSuffix

string FineUICore.NumberBox.NumberSuffix
getset

数字后缀

◆ ProgressHeight

int? FineUICore.NumberBox.ProgressHeight
getset

进度条的高度

◆ ProgressTextInside

bool FineUICore.NumberBox.ProgressTextInside
getset

是否将进度条文本显示在进度条内部

◆ ProgressTextVisible

bool FineUICore.NumberBox.ProgressTextVisible
getset

是否显示进度条文本

◆ RateAllowClear

bool FineUICore.NumberBox.RateAllowClear
getset

是否允许通过点击来清除评分

◆ RateAllowHalf

bool FineUICore.NumberBox.RateAllowHalf
getset

是否允许半星评分

◆ RateCharacter

string FineUICore.NumberBox.RateCharacter
getset

自定义评分字符

◆ RateCount

int FineUICore.NumberBox.RateCount
getset

评分图标的个数

◆ RateIconFont

IconFont FineUICore.NumberBox.RateIconFont
getset

评分图标字体

◆ RateIconFontClass

string FineUICore.NumberBox.RateIconFontClass
getset

自定义评分图标字体的样式类

◆ RateTextRendererFunction

string FineUICore.NumberBox.RateTextRendererFunction
getset

自定义评分文本的渲染函数

◆ RateTextVisible

bool FineUICore.NumberBox.RateTextVisible
getset

是否显示评分文本

◆ ShowTrigger

bool FineUICore.NumberBox.ShowTrigger
getset

是否显示触发器

◆ TriggerType

NumberBoxTriggerType FineUICore.NumberBox.TriggerType
getset

数字输入框触发图标的类型

◆ TrimEndZero

bool FineUICore.NumberBox.TrimEndZero
getset

是否去除小数位后面的零


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