Defines the fluent API for configuring the ExportAs settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorExportAsSettingsBuilder
Inheritance: objectEditorExportAsSettingsBuilder
Inherited Members
Constructors
EditorExportAsSettingsBuilder method.
public EditorExportAsSettingsBuilder(EditorExportAsSettings settings)
Methods
Sets the name of the file in which the content will be exported.
public EditorExportAsSettingsBuilder FileName(string fileName)
The name of the exported file.
Returns:Returns the current instance of EditorExportAsSettingsBuilder to allow method chaining.
Configures the proxy.
public EditorExportAsSettingsBuilder Proxy(Action<ProxyBuilder> configurator)
The proxy configurator.
Returns:Returns the current instance of EditorExportAsSettingsBuilder to allow method chaining.
Sets the action and controller for the export operation
public EditorExportAsSettingsBuilder Proxy(string actionName, string controllerName)
Name of the action.
controllerNamestringName of the controller.
Returns:Returns the current instance of EditorExportAsSettingsBuilder to allow method chaining.
Sets the route name for the export operation
public EditorExportAsSettingsBuilder Proxy(string routeName)
Name of the route.
Returns:Returns the current instance of EditorExportAsSettingsBuilder to allow method chaining.
Sets the action for the export operation
public EditorExportAsSettingsBuilder Proxy<TController>(Expression<Action<TController>> controllerAction) where TController : Controller
The action.
Returns:Returns the current instance of EditorExportAsSettingsBuilder to allow method chaining.