FineUICore 11.7
企业级 ASP.NET Core 控件库
|
文件上传控件扩展 更多...
Public 成员函数 | |
FileUploadExtension (FileUpload source) | |
构造函数 | |
FileUploadExtension | Multiple (bool param) |
是否可以选择多个文件 | |
FileUploadExtension | AcceptFileTypes (string param) |
允许上传的文件类型(仅部分浏览器支持) | |
FileUploadExtension | ButtonText (string param) |
按钮文本 | |
FileUploadExtension | ButtonOnly (bool param) |
是否只显示按钮,不显示只读输入框 | |
FileUploadExtension | ButtonIconFont (IconFont param) |
按钮图标字体 | |
FileUploadExtension | ButtonIconFontClass (string param) |
自定义按钮图标字体的样式类 | |
FileUploadExtension | ButtonIcon (Icon param) |
按钮图标 | |
FileUploadExtension | ButtonIconUrl (string param) |
按钮图标地址 | |
FileUploadExtension | ButtonIconAlign (IconAlign param) |
按钮图标的显示位置 | |
FileUploadExtension | ButtonSize (ButtonSize param) |
按钮的大小 | |
FileUploadExtension | ButtonDefaultState (bool param) |
向按钮添加CSS类(f-state-default) | |
FileUploadExtension | ButtonDefaultCorner (bool param) |
向按钮添加CSS类(f-corner-all) | |
FileUploadExtension | OnFileSelected (string action) |
选中文件改变事件 | |
FileUploadExtension | OnFileSelected (string action, string fields) |
选中文件改变事件 | |
FileUploadExtension | OnFileSelected (string action, params Parameter[] parameters) |
选中文件改变事件 | |
FileUploadExtension | OnFileSelected (string action, string fields, params Parameter[] parameters) |
选中文件改变事件 | |
FileUploadExtension | OnFileSelected (Action< Event > eventAction) |
选中文件改变事件 | |
Public 成员函数 继承自 FineUICore.RealTextFieldExtension< FileUpload, FileUploadExtension > | |
RealTextFieldExtension (RealTextField source) | |
构造函数 | |
TExtension | ChangeEventDelay (int param) |
触发change事件之前延迟的毫秒数(默认为500ms,如果设为0则不延迟) | |
TExtension | InputType (string param) |
文本框类型,可设置HTML5属性(url, date, color, tel, number...) | |
TExtension | EmptyText (string param) |
文本框为空时显示的文本 | |
TExtension | Text (string param) |
文本 | |
TExtension | OnBlur (string action) |
失去焦点事件 | |
TExtension | OnBlur (string action, string fields) |
失去焦点事件 | |
TExtension | OnBlur (string action, params Parameter[] parameters) |
失去焦点事件 | |
TExtension | OnBlur (string action, string fields, params Parameter[] parameters) |
失去焦点事件 | |
TExtension | OnBlur (Action< Event > eventAction) |
失去焦点事件 | |
TExtension | OnTextChanged (string action) |
文本改变事件 | |
TExtension | OnTextChanged (string action, string fields) |
文本改变事件 | |
TExtension | OnTextChanged (string action, params Parameter[] parameters) |
文本改变事件 | |
TExtension | OnTextChanged (string action, string fields, params Parameter[] parameters) |
文本改变事件 | |
TExtension | OnTextChanged (Action< Event > eventAction) |
文本改变事件 | |
属性 | |
new FileUpload | Source [get] |
当前控件 | |
属性 继承自 FineUICore.RealTextFieldExtension< FileUpload, FileUploadExtension > | |
new RealTextField | Source [get] |
当前控件 | |
文件上传控件扩展
FineUICore.FileUploadExtension.FileUploadExtension | ( | FileUpload | source | ) |
构造函数
source |
FileUploadExtension FineUICore.FileUploadExtension.AcceptFileTypes | ( | string | param | ) |
允许上传的文件类型(仅部分浏览器支持)
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonDefaultCorner | ( | bool | param | ) |
向按钮添加CSS类(f-corner-all)
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonDefaultState | ( | bool | param | ) |
向按钮添加CSS类(f-state-default)
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonIcon | ( | Icon | param | ) |
按钮图标
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonIconAlign | ( | IconAlign | param | ) |
按钮图标的显示位置
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonIconFont | ( | IconFont | param | ) |
按钮图标字体
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonIconFontClass | ( | string | param | ) |
自定义按钮图标字体的样式类
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonIconUrl | ( | string | param | ) |
按钮图标地址
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonOnly | ( | bool | param | ) |
是否只显示按钮,不显示只读输入框
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonSize | ( | ButtonSize | param | ) |
按钮的大小
param |
FileUploadExtension FineUICore.FileUploadExtension.ButtonText | ( | string | param | ) |
按钮文本
param |
FileUploadExtension FineUICore.FileUploadExtension.Multiple | ( | bool | param | ) |
是否可以选择多个文件
param |
FileUploadExtension FineUICore.FileUploadExtension.OnFileSelected | ( | Action< Event > | eventAction | ) |
选中文件改变事件
eventAction | 事件代理函数 |
FileUploadExtension FineUICore.FileUploadExtension.OnFileSelected | ( | string | action | ) |
选中文件改变事件
action | 动作地址 |
FileUploadExtension FineUICore.FileUploadExtension.OnFileSelected | ( | string | action, |
params Parameter[] | parameters | ||
) |
选中文件改变事件
action | 动作地址 |
parameters | 请求参数 |
FileUploadExtension FineUICore.FileUploadExtension.OnFileSelected | ( | string | action, |
string | fields | ||
) |
选中文件改变事件
action | 动作地址 |
fields | 请求参数(字段或容器名称列表,以逗号分隔) |
FileUploadExtension FineUICore.FileUploadExtension.OnFileSelected | ( | string | action, |
string | fields, | ||
params Parameter[] | parameters | ||
) |
选中文件改变事件
action | 动作地址 |
fields | 请求参数(字段或容器名称列表,以逗号分隔) |
parameters | 请求参数 |
|
get |
当前控件