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

按钮控件 更多...

类 FineUICore.Button 继承关系图:
FineUICore.BoxComponent FineUICore.IMenu FineUICore.IIconAndIconFont FineUICore.Component FineUICore.ControlBase

Public 成员函数

 Button ()
 构造函数
 
- 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 ()
 获取显示控件的客户端脚本
 

属性

ButtonColor ButtonColor [get, set]
 按钮颜色
 
bool Badge [get, set]
 是否启用徽标
 
string BadgeText [get, set]
 徽标文本
 
BadgeType BadgeType [get, set]
 徽标类型
 
BadgeAnimationType BadgeAnimationType [get, set]
 徽标动画类型
 
bool EnableRoundCorner [get, set]
 是否为圆角
 
bool EnableDefaultState [get, set]
 是否默认添加CSS类(f-state-default)
 
bool? EnableDefaultCorner [get, set]
 是否为圆角边框
 
bool Pressed [get, set]
 是否处于按下状态
 
bool EnablePress [get, set]
 是否可以按下
 
string OnClientClick [get, set]
 点击按钮时需要执行的客户端脚本
 
Event OnClick [get, set]
 点击按钮时需要执行的服务端脚本
 
IconFont IconFont [get, set]
 预定义图标字体
 
string IconFontClass [get, set]
 自定义图标字体的样式类
 
Icon Icon [get, set]
 预定义图标
 
ButtonSize Size [get, set]
 按钮的大小
 
string IconUrl [get, set]
 图标地址
 
IconAlign IconAlign [get, set]
 图标摆放位置
 
string Text [get, set]
 按钮文本
 
string ToolTip [get, set]
 提示文本
 
ToolTipType ToolTipType [get, set]
 提示文本类型
 
ToolTipPosition ToolTipPosition [get, set]
 提示文本的位置
 
short? TabIndex [get, set]
 Tab键索引
 
virtual ButtonType Type [get, set]
 按钮类型
 
bool DisableControlBeforePostBack [get, set]
 回发之前禁用按钮(防止重复提交)
 
string[] ValidateForms [get, set]
 需要验证的表单名称列表
 
Target ValidateTarget [get, set]
 验证失败时提示对话框弹出位置
 
bool ValidateMessageBox [get, set]
 验证失败时是否出现提示对话框
 
bool ValidateMessageBoxPlain [get, set]
 是否简单提示对话框
 
bool ShowMenuIcon [get, set]
 是否显示标识菜单的箭头图标
 
string ConfirmTitle [get, set]
 确认对话框标题
 
string ConfirmText [get, set]
 确认对话框内容
 
MessageBoxIcon ConfirmIcon [get, set]
 确认对话框提示图标
 
Target ConfirmTarget [get, set]
 确认对话框弹出位置
 
string MenuID [get, set]
 按钮的上下文菜单
 
Menu Menu [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]
 服务端事件列表
 

详细描述

按钮控件

构造及析构函数说明

◆ Button()

FineUICore.Button.Button ( )

构造函数

属性说明

◆ Badge

bool FineUICore.Button.Badge
getset

是否启用徽标

◆ BadgeAnimationType

BadgeAnimationType FineUICore.Button.BadgeAnimationType
getset

徽标动画类型

◆ BadgeText

string FineUICore.Button.BadgeText
getset

徽标文本

◆ BadgeType

BadgeType FineUICore.Button.BadgeType
getset

徽标类型

◆ ButtonColor

ButtonColor FineUICore.Button.ButtonColor
getset

按钮颜色

◆ ConfirmIcon

MessageBoxIcon FineUICore.Button.ConfirmIcon
getset

确认对话框提示图标

◆ ConfirmTarget

Target FineUICore.Button.ConfirmTarget
getset

确认对话框弹出位置

◆ ConfirmText

string FineUICore.Button.ConfirmText
getset

确认对话框内容

◆ ConfirmTitle

string FineUICore.Button.ConfirmTitle
getset

确认对话框标题

◆ DisableControlBeforePostBack

bool FineUICore.Button.DisableControlBeforePostBack
getset

回发之前禁用按钮(防止重复提交)

◆ EnableDefaultCorner

bool? FineUICore.Button.EnableDefaultCorner
getset

是否为圆角边框

◆ EnableDefaultState

bool FineUICore.Button.EnableDefaultState
getset

是否默认添加CSS类(f-state-default)

◆ EnablePress

bool FineUICore.Button.EnablePress
getset

是否可以按下

◆ EnableRoundCorner

bool FineUICore.Button.EnableRoundCorner
getset

是否为圆角

◆ Icon

Icon FineUICore.Button.Icon
getset

预定义图标

实现了 FineUICore.IIconAndIconFont.

◆ IconAlign

IconAlign FineUICore.Button.IconAlign
getset

图标摆放位置

◆ IconFont

IconFont FineUICore.Button.IconFont
getset

预定义图标字体

实现了 FineUICore.IIconAndIconFont.

◆ IconFontClass

string FineUICore.Button.IconFontClass
getset

自定义图标字体的样式类

实现了 FineUICore.IIconAndIconFont.

◆ IconUrl

string FineUICore.Button.IconUrl
getset

图标地址

实现了 FineUICore.IIconAndIconFont.

◆ Menu

Menu FineUICore.Button.Menu
getset

按钮的上下文菜单

实现了 FineUICore.IMenu.

◆ MenuID

string FineUICore.Button.MenuID
getset

按钮的上下文菜单

◆ OnClick

Event FineUICore.Button.OnClick
getset

点击按钮时需要执行的服务端脚本

◆ OnClientClick

string FineUICore.Button.OnClientClick
getset

点击按钮时需要执行的客户端脚本

◆ Pressed

bool FineUICore.Button.Pressed
getset

是否处于按下状态

◆ ShowMenuIcon

bool FineUICore.Button.ShowMenuIcon
getset

是否显示标识菜单的箭头图标

◆ Size

ButtonSize FineUICore.Button.Size
getset

按钮的大小

◆ TabIndex

short? FineUICore.Button.TabIndex
getset

Tab键索引

◆ Text

string FineUICore.Button.Text
getset

按钮文本

◆ ToolTip

string FineUICore.Button.ToolTip
getset

提示文本

◆ ToolTipPosition

ToolTipPosition FineUICore.Button.ToolTipPosition
getset

提示文本的位置

◆ ToolTipType

ToolTipType FineUICore.Button.ToolTipType
getset

提示文本类型

◆ Type

virtual ButtonType FineUICore.Button.Type
getset

按钮类型

◆ ValidateForms

string [] FineUICore.Button.ValidateForms
getset

需要验证的表单名称列表

◆ ValidateMessageBox

bool FineUICore.Button.ValidateMessageBox
getset

验证失败时是否出现提示对话框

◆ ValidateMessageBoxPlain

bool FineUICore.Button.ValidateMessageBoxPlain
getset

是否简单提示对话框

◆ ValidateTarget

Target FineUICore.Button.ValidateTarget
getset

验证失败时提示对话框弹出位置


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