图片控件帮助类 更多...
Public 成员函数 | |
| ImageAjaxHelper (Image source) | |
| 构造函数 | |
| void | Icon (Icon icon) |
| 设置内置图片图标,传 None 清空图片 | |
| override void | Enabled (bool enabled) |
| 设置控件的启用状态 | |
| void | ImageUrl (string imageUrl) |
| 设置图片地址 | |
| void | ImageWidth (int imageWidth) |
| 设置图片宽度 | |
| void | ImageHeight (int imageHeight) |
| 设置图片高度 | |
| void | ImageCssClass (string imageCssClass) |
| 设置图片的样式类 | |
| void | ImageCssStyle (string imageCssStyle) |
| 设置图片的内联样式 | |
| void | ImageAlt (string imageAlt) |
| 设置图片的 Alt | |
| Public 成员函数 继承自 FineUI.Core.ToolTipFieldAjaxHelper< T, TAjaxHelper > | |
| ToolTipFieldAjaxHelper (ToolTipField source) | |
| 构造函数 | |
| void | ToolTipTitle (string title) |
| 设置提示标题 | |
| void | ToolTipAutoHide (bool autoHide) |
| 设置提示是否自动隐藏 | |
| void | ToolTipPosition (ToolTipPosition position) |
| 设置提示位置 | |
| void | ToolTipType (ToolTipType type) |
| 设置提示类型 | |
| void | ToolTipRawHtml (RawHtml toolTip) |
| 设置可信 HTML 提示,内容必须由业务代码确认可信 | |
| void | ToolTip (string toolTip) |
| 设置提示信息 | |
| Public 成员函数 继承自 FineUI.Core.FieldAjaxHelper< T, TAjaxHelper > | |
| FieldAjaxHelper (Field source) | |
| 构造函数 | |
| void | Readonly (bool readonlyValue) |
| 设置字段只读状态 | |
| void | ShowRedStar (bool showRedStar) |
| 设置标签必填星号的显示状态 | |
| void | Label (string label) |
| 设置字段标签,不改变字段的输入值 | |
| void | Focus () |
| 使控件获得焦点 | |
| void | Focus (bool selectText) |
| 使控件获得焦点,并选中控件中的文本内容 | |
| void | Focus (bool selectText, int delayMilliseconds) |
| 使控件获得焦点,并选中控件中的文本内容 | |
| string | GetFocusReference () |
| 获取使控件获得焦点的脚本 | |
| string | GetFocusReference (bool selectText) |
| 获取使控件获得焦点,并选中控件中的文本内容的脚本 | |
| string | GetFocusReference (bool selectText, int delayMilliseconds) |
| 获取使控件获得焦点,并选中控件中的文本内容的脚本 | |
| void | Reset () |
| 重置此字段的值(比如用来清空FileUpload的内容) | |
| string | GetResetReference () |
| 获取重置此字段的客户端脚本 | |
| string | GetValueReference () |
| 获取此字段值的客户端脚本(注意返回的脚本不带结束分号) | |
| void | MarkInvalid (string message) |
| 设置字段验证失败的提示信息 | |
| void | ClearInvalid () |
| 清除验证失败的提示信息 | |
| string | GetMarkInvalidReference (string message) |
| 获取字段验证失败提示信息的客户端脚本 | |
| string | GetClearInvalidReference () |
| 获取清除验证失败提示信息的客户端脚本 | |
| Public 成员函数 继承自 FineUI.Core.BoxComponentAjaxHelper< T, TAjaxHelper > | |
| BoxComponentAjaxHelper (BoxComponent source) | |
| 构造函数 | |
| Public 成员函数 继承自 FineUI.Core.ComponentAjaxHelper< T, TAjaxHelper > | |
| ComponentAjaxHelper (Component source) | |
| 构造函数 | |
| void | EnableAjaxLoading (bool value) |
| 设置回发时是否显示加载提示 | |
| void | AjaxLoadingType (AjaxLoadingType value) |
| 设置回发加载提示的类型 | |
| void | AjaxLoadingText (string value) |
| 设置回发加载提示文字 | |
| void | AjaxLoadingMaskText (string value) |
| 设置回发遮罩提示文字 | |
| void | ShowAjaxLoadingMaskText (bool value) |
| 设置回发遮罩是否显示提示文字 | |
| void | ApplyStyles (string styles) |
| 设置控件样式 | |
| void | CssStyle (string styles) |
| 设置控件样式 | |
| void | AddCssClass (string cssClass) |
| 添加控件样式类 | |
| void | RemoveCssClass (string cssClass) |
| 删除控件样式类 | |
| Public 成员函数 继承自 FineUI.Core.ControlBaseAjaxHelper< T, TAjaxHelper > | |
| ControlBaseAjaxHelper (ControlBase source) | |
| 构造函数 | |
| virtual void | Disabled (bool disabled) |
| 设置控件的禁用状态 | |
| virtual void | Hidden (bool hidden) |
| 设置控件的隐藏状态 | |
| virtual void | Attribute (string key, string value) |
| 设置HTML标签属性 | |
属性 | |
| new Image | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.ToolTipFieldAjaxHelper< T, TAjaxHelper > | |
| new ToolTipField | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.FieldAjaxHelper< T, TAjaxHelper > | |
| new Field | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.BoxComponentAjaxHelper< T, TAjaxHelper > | |
| new BoxComponent | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.ComponentAjaxHelper< T, TAjaxHelper > | |
| new Component | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.ControlBaseAjaxHelper< T, TAjaxHelper > | |
| ControlBase | Source [get] |
| 当前控件 | |
图片控件帮助类
| FineUI.Core.ImageAjaxHelper.ImageAjaxHelper | ( | Image | source | ) |
构造函数
| source |
|
virtual |
| void FineUI.Core.ImageAjaxHelper.Icon | ( | Icon | icon | ) |
设置内置图片图标,传 None 清空图片
| icon | 内置图标 |
| void FineUI.Core.ImageAjaxHelper.ImageAlt | ( | string | imageAlt | ) |
设置图片的 Alt
| imageAlt |
| void FineUI.Core.ImageAjaxHelper.ImageCssClass | ( | string | imageCssClass | ) |
设置图片的样式类
| imageCssClass |
| void FineUI.Core.ImageAjaxHelper.ImageCssStyle | ( | string | imageCssStyle | ) |
设置图片的内联样式
| imageCssStyle |
| void FineUI.Core.ImageAjaxHelper.ImageHeight | ( | int | imageHeight | ) |
设置图片高度
| imageHeight |
| void FineUI.Core.ImageAjaxHelper.ImageUrl | ( | string | imageUrl | ) |
设置图片地址
| imageUrl |
| void FineUI.Core.ImageAjaxHelper.ImageWidth | ( | int | imageWidth | ) |
设置图片宽度
| imageWidth |
|
get |