HtmlEditorImageUploadBuilder.Tabs(Action<CollectionFactory<HtmlEditorImageUploadTabItemBuilder>>) Method
In This Article
Contains an array of tabs in the 'Add an Image' dialog. Mirrors the client-side tabs option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public HtmlEditorImageUploadBuilder Tabs(
Action<CollectionFactory<HtmlEditorImageUploadTabItemBuilder>> configurator
)
#Parameters
Name | Type | Description |
---|---|---|
configurator | Action<Collection |
A function that allows you to specify nested options. |
#Returns
Type | Description |
---|---|
Html |
A reference to this instance after the method is called. |
#Remarks
This method provides access to methods that allow you to configure nested options of the client-side tabs object.
To specify nested options, use a lambda expression.
@(Html.DevExtreme().HtmlEditor()
.ImageUpload(iupload => iupload
.Tabs(tabs => {
tabs.Add(); // call methods to configure a tab
tabs.Add();
})
)
)
Refer to Nested Options and Collections for more information.
See Also