FileUploaderBuilder.MinFileSize(Double) Method
Specifies the minimum file size (in bytes) allowed for uploading. Applies only if uploadMode is 'instantly' or 'useButtons'. Mirrors the client-side minFileSize option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public FileUploaderBuilder MinFileSize(
double value
)
Parameters
Name | Type | Description |
---|---|---|
value | Double | The option value. |
Returns
Type | Description |
---|---|
FileUploaderBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().FileUploader()
.MinFileSize(1000000)
)
See Also