HtmlEditorImageUploadTab Enum
Specifies tabs for the image upload dialog.
Namespace: DevExtreme.AspNet.Mvc
Assembly: DevExtreme.AspNet.Core.dll
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public enum HtmlEditorImageUploadTab
Members
Name | Description |
---|---|
Url
|
The ‘From the Web’ tab. |
File
|
The ‘From this Device’ tab. |
Remarks
Use the Tabs method to specify the image upload tabs.
@(Html.DevExtreme().HtmlEditor()
.ImageUpload(imageUpload => imageUpload.Tabs(
tabs => {
tabs.Add().Name(HtmlEditorImageUploadTab.File);
tabs.Add().Name(HtmlEditorImageUploadTab.Url);
})
)
)
See Also