FileManagerBuilder
Defines the fluent API for configuring the Kendo FileManager for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FileManagerBuilder : WidgetBuilderBase<FileManager, FileManagerBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<FileManager, FileManagerBuilder>FileManagerBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the FileManager class.
Methods
Configures or disables the Breadcrumb component.
public FileManagerBuilder Breadcrumb(Action<FileManagerBreadcrumbSettingsBuilder> configurator)
The action that configures the breadcrumb.
Returns:Configures or disables the Breadcrumb component.
public FileManagerBuilder Breadcrumb(bool enabled)
Enables or disables the breadcrumb option.
Returns:Configures the ContextMenu of the FileManager.
public FileManagerBuilder ContextMenu(Action<FileManagerContextMenuSettingsBuilder> configurator)
The action that configures the contextmenu.
Returns:Configures the ContextMenu of the FileManager.
public FileManagerBuilder ContextMenu(bool enabled)
Enables or disables the contextmenu option.
Returns:Configure the DataSource of the component
public FileManagerBuilder DataSource(Action<FileManagerDataSourceBuilder<object>> configurator)
The action that configures the DataSource.
Returns:Sets the data source configuration of the DataSource.
public FileManagerBuilder DataSource(string dataSourceId)
The unique identifier of the DataSource
Returns:Specifies the composite Dialog widgets of the FileManager.
public FileManagerBuilder Dialogs(Action<FileManagerDialogsSettingsBuilder> configurator)
The action that configures the dialogs.
Returns:Enables or disables the drag and drop features of the FileManager.
public FileManagerBuilder Draggable(bool value)
The value that configures the draggable.
Returns:Configures the client-side events.
public FileManagerBuilder Events(Action<FileManagerEventBuilder> configurator)
The client events action.
Returns:Configures the height of the FileManager.
public FileManagerBuilder Height(double value)
The value that configures the height.
Returns:Configures the initial view of the FileManager.
public FileManagerBuilder InitialView(string value)
The value that configures the initialview.
Returns:Defines the text of the localizable UI parts of the FileManager.
public FileManagerBuilder Messages(Action<FileManagerMessagesSettingsBuilder> configurator)
The action that configures the messages.
Returns:Configures the Preview Pane of the FileManager.
public FileManagerBuilder PreviewPane(Action<FileManagerPreviewPaneSettingsBuilder> configurator)
The action that configures the previewpane.
Returns:Configures the resizable features of the FileManager.
public FileManagerBuilder Resizable(bool value)
The value that configures the resizable.
Returns:Configures the Toolbar of the FileManager
public FileManagerBuilder Toolbar(Action<FileManagerToolbarSettingsBuilder> configurator)
The action that configures the toolbar.
Returns:Configures the Toolbar of the FileManager
public FileManagerBuilder Toolbar(bool enabled)
Enables or disables the toolbar option.
Returns:Configures the composite Upload widget of the FileManager. Accepts the same options as the kendoUpload widget.
public FileManagerBuilder Upload(Action<FileManagerUploadSettingsBuilder> configurator)
The action that configures the upload.
Returns:Sets the route values for the upload operation
public FileManagerBuilder UploadUrl(RouteValueDictionary routeValues)
The route values of the action method.
Returns:Sets the route and values for the upload operation
public FileManagerBuilder UploadUrl(string routeName, RouteValueDictionary routeValues)
Name of the route.
routeValuesRouteValueDictionaryThe route values.
Returns:Sets the action, controller and route values for the upload operation
Sets the action, controller and route values for the upload operation
Sets the action, controller and route values for the upload operation
public FileManagerBuilder UploadUrl(string value)
The value that configures the uploadurl.
Returns:public FileManagerBuilder UploadUrl<TController>(Expression<Action<TController>> controllerAction) where TController : Controller
Configures every view registered for the FileManager.
public FileManagerBuilder Views(Action<FileManagerViewsSettingsBuilder> configurator)
The action that configures the views.
Returns:Configures the width of the FileManager.
public FileManagerBuilder Width(double value)
The value that configures the width.
Returns: