Defines the fluent API for configuring EditorFileBrowserSchemaModelSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorFileBrowserSchemaModelSettingsBuilder
Inheritance: objectEditorFileBrowserSchemaModelSettingsBuilder
Inherited Members
Constructors
EditorFileBrowserSchemaModelSettingsBuilder method.
public EditorFileBrowserSchemaModelSettingsBuilder(EditorFileBrowserSchemaModelSettings container)
Properties
Gets the settings being configured.
protected EditorFileBrowserSchemaModelSettings Container { get; }
Methods
Defines the field mappings for the file browser data model. This configuration specifies which fields in the server response contain the name, type, and size information for files and directories. The fields object allows you to map the server data structure to the expected properties that the file browser uses to display and manage files. Each field can be configured as either a string (field name) or an object with additional parsing options.
public EditorFileBrowserSchemaModelSettingsBuilder Fields(Action<EditorFileBrowserSchemaModelFieldsSettingsBuilder> configurator)
The EditorFileBrowserSchemaModelFieldsSettingsBuilder for the fields setting.
Returns:EditorFileBrowserSchemaModelSettingsBuilder
Returns the current instance of EditorFileBrowserSchemaModelSettingsBuilder .
The name of the field which acts as an identifier.
public EditorFileBrowserSchemaModelSettingsBuilder Id(string value)
The value for Id
Returns:EditorFileBrowserSchemaModelSettingsBuilder
Returns the current EditorFileBrowserSchemaModelSettingsBuilder instance.