HtmlEditorImageUploadBuilder.FileUploadMode(HtmlEditorImageUploadFileUploadMode) Method
Specifies how the HTML Editor UI component uploads files. Mirrors the client-side fileUploadMode option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
public HtmlEditorImageUploadBuilder FileUploadMode(
HtmlEditorImageUploadFileUploadMode value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Html |
An enumeration value. |
#Returns
Type | Description |
---|---|
Html |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().HtmlEditor()
.ImageUpload(iupload => iupload
.FileUploadMode(HtmlEditorImageUploadFileUploadMode.Both)
)
)