Class FileExplorerUploadBoxSettingsBuilder
Using this builder we can customize the upload behaviour
Inheritance
System.Object
FileExplorerUploadBoxSettingsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
Syntax
public class FileExplorerUploadBoxSettingsBuilder
Constructors
FileExplorerUploadBoxSettingsBuilder(FileExplorerUploadBoxSettings)
Gets or sets an object that indicates whether to customize the upload behavior in the FileExplorer using this builder
Declaration
public FileExplorerUploadBoxSettingsBuilder(FileExplorerUploadBoxSettings uploadBoxSettings)
Parameters
Methods
AllowMultipleFile()
Enables or disables the multiple files upload. When it is enabled, you can upload multiple files at a time and when disabled, you can upload only one file at a time.
Declaration
public FileExplorerUploadBoxSettingsBuilder AllowMultipleFile()
Returns
AllowMultipleFile(Boolean)
Declaration
public FileExplorerUploadBoxSettingsBuilder AllowMultipleFile(bool allowMultipleFile)
Parameters
Type |
Name |
Description |
System.Boolean |
allowMultipleFile |
|
Returns
AutoUpload()
Enables or disables the auto upload option while uploading files in FileExplorer control.
Declaration
public FileExplorerUploadBoxSettingsBuilder AutoUpload()
Returns
AutoUpload(Boolean)
Declaration
public FileExplorerUploadBoxSettingsBuilder AutoUpload(bool autoUpload)
Parameters
Type |
Name |
Description |
System.Boolean |
autoUpload |
|
Returns
DialogAction(Action<DialogActionBuilder>)
Declaration
public FileExplorerUploadBoxSettingsBuilder DialogAction(Action<DialogActionBuilder> dialogAction)
Parameters
Returns
DialogPosition(Action<DialogPositionBuilder>)
Declaration
public FileExplorerUploadBoxSettingsBuilder DialogPosition(Action<DialogPositionBuilder> dialogPosition)
Parameters
Returns
FileSize(Double)
Declaration
[Obsolete("FileSize property has deprecated.Use MaxFileSize instead of FileSize")]
public FileExplorerUploadBoxSettingsBuilder FileSize(double fileSize)
Parameters
Type |
Name |
Description |
System.Double |
fileSize |
|
Returns
MaxFileSize(Double)
Specifies the maximum file size allowed to upload. It accepts the value in bytes.
Declaration
public FileExplorerUploadBoxSettingsBuilder MaxFileSize(double fileSize)
Parameters
Type |
Name |
Description |
System.Double |
fileSize |
|
Returns
MultipleFileSelection()
Declaration
[Obsolete("MultipleFileSelection property has deprecated.Use AllowMultipleFile instead of MultipleFileSelection")]
public FileExplorerUploadBoxSettingsBuilder MultipleFileSelection()
Returns
MultipleFileSelection(Boolean)
Declaration
[Obsolete("MultipleFileSelection property has deprecated.Use AllowMultipleFile instead of MultipleFileSelection")]
public FileExplorerUploadBoxSettingsBuilder MultipleFileSelection(bool multipleFileSelection)
Parameters
Type |
Name |
Description |
System.Boolean |
multipleFileSelection |
|
Returns
ShowFileDetails(Boolean)
Specifies the file details allowed to upload.
Declaration
public FileExplorerUploadBoxSettingsBuilder ShowFileDetails(bool showFileDetails)
Parameters
Type |
Name |
Description |
System.Boolean |
showFileDetails |
|
Returns