BeforeUpload |
ParameterFunction which will be executed before uploading each file. Uploading will be stopped if false is returned. Warning:This function is not supported in IE9. |
Func<UploadFileItem, Boolean> |
-- |
BeforeAllUploadAsync |
ParameterHook function which will be executed before starting the overall upload. Uploading will be stopped if false is returned. Warning:This function is not supported in IE9. |
Func<List<UploadFileItem>, Task<Boolean>> |
-- |
BeforeAllUpload |
ParameterHook function which will be executed before starting the overall upload. Uploading will be stopped if false is returned. Warning:This function is not supported in IE9. |
Func<List<UploadFileItem>, Boolean> |
-- |
Name |
ParameterThe name of uploading file |
String |
-- |
Action |
ParameterUploading URL |
String |
-- |
Disabled |
ParameterDisable upload button |
Boolean |
false |
Data |
ParameterAdditional data to be uploaded with the files |
Dictionary<String, Object> |
-- |
ListType |
ParameterBuilt-in stylesheets, support for three types: text , picture or picture-card |
String |
text |
Directory |
ParameterSupport upload whole directory. See Can I Use for browser support |
Boolean |
-- |
Multiple |
ParameterWhether to support selected multiple file. IE10+ supported. When set to true, will allow selecting multiple files with holding down Ctrl key |
Boolean |
-- |
Accept |
ParameterFile types that can be accepted. See input's accept attribute |
String |
-- |
ShowUploadList |
ParameterShow the list of files uploading or not |
Boolean |
true |
ShowDownloadIcon |
ParameterList of files that have been uploaded (controlled) |
Boolean |
-- |
ShowPreviewIcon |
ParameterShow the preview icon or not |
Boolean |
-- |
ShowRemoveIcon |
ParameterShow the remove icon or not |
Boolean |
-- |
FileList |
ParameterGet or set the list of files that have been uploaded |
List<UploadFileItem> |
-- |
Locale |
ParameterLocale for UI text |
UploadLocale |
-- |
FileListChanged |
ParameterEvent callback executed when the files list changes |
EventCallback<List<UploadFileItem>> |
-- |
DefaultFileList |
ParameterDefault list of files that have been uploaded. |
List<UploadFileItem> |
-- |
Headers |
ParameterSet request headers, valid above IE10. |
Dictionary<String, String> |
-- |
OnSingleCompleted |
ParameterA callback function, will be executed when a single file upload has succeeded or failed |
EventCallback<UploadInfo> |
-- |
OnCompleted |
ParameterA callback function, will be executed when all uploads have succeeded or failed |
EventCallback<UploadInfo> |
-- |
OnChange |
ParameterA callback function, can be executed when uploading state has changed for any reason. The function will be called when uploading is in progress, completed or failed. |
EventCallback<UploadInfo> |
-- |
OnRemove |
ParameterA callback function executed when the remove file button is clicked. When true is returned, file will be removed and AntDesign.Upload.FileListChanged will be executed. When false is returned, the removal will be cancelled. |
Func<UploadFileItem, Task<Boolean>> |
-- |
OnPreview |
ParameterA callback function, will be executed when file link or preview icon is clicked |
EventCallback<UploadFileItem> |
-- |
OnDownload |
ParameterCallback executed when file name link is clicked in upload list. |
EventCallback<UploadFileItem> |
-- |
ChildContent |
ParameterContent of the upload button |
RenderFragment |
-- |
ShowButton |
ParameterWhether to show the upload button or not. |
Boolean |
-- |
Drag |
ParameterWhether to allow drag and drop of files or not. |
Boolean |
-- |
Method |
ParameterHTTP method of upload request |
String |
post |
Id |
ParameterID for the component's HTML |
String |
Uniquely Generated ID |
Class |
ParameterSpecifies one or more class names for an DOM element. |
String |
-- |
Style |
ParameterSpecifies an inline style for a DOM element. |
String |
-- |
RefBack |
ParameterA ForwardRef instance. You can get a reference to the internal DOM by using AntDesign.ForwardRef.Current . |
ForwardRef |
-- |