Defines the fluent interface for configuring the SchedulerEditableSettings<T>.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class SchedulerEditableSettingsBuilder<T> where T : class
Inheritance: objectSchedulerEditableSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the SchedulerViewEditableSettingsBuilder class.
public SchedulerEditableSettingsBuilder(SchedulerEditableSettings<T> container)
The container.
Methods
If set to true the scheduler will display a confirmation dialog when the user clicks the "destroy" button. Confirmation dialog is enabled by default.
public SchedulerEditableSettingsBuilder<T> Confirmation(bool enable)
The confirmation
Returns:The text which the scheduler will display in a confirmation dialog when the user clicks the "destroy" button.
public SchedulerEditableSettingsBuilder<T> Confirmation(string message)
The message
Returns:If set to true the user can create new events. Creating is enabled by default.
public SchedulerEditableSettingsBuilder<T> Create(bool create)
The create
Returns:If set to true the user can delete events from the view by clicking the "destroy" button. Deleting is enabled by default.
public SchedulerEditableSettingsBuilder<T> Destroy(bool destroy)
The destroy
Returns:Recurring events edit mode.
public SchedulerEditableSettingsBuilder<T> EditRecurringMode(SchedulerEditRecurringMode editRecurringMode)
The edit recurrence mode.
Returns:If set to false the moving of the events will be disabled. Moving is enabled by default.
public SchedulerEditableSettingsBuilder<T> Move(bool enable)
The move option
Returns:If set to false the resizing of the events will be disabled. Resizing is enabled by default.
public SchedulerEditableSettingsBuilder<T> Resize(bool enable)
The resize option
Returns:Defines the template that renders the event editors.
public SchedulerEditableSettingsBuilder<T> Template(string template)
The value that configures the template content.
Returns:Defines the editor template of the Scheduler created through a Template component.
public SchedulerEditableSettingsBuilder<T> TemplateComponentName(string templateName)
The name of the View that contains a Template component.
Returns:Defines the template that renders the event editors.
public SchedulerEditableSettingsBuilder<T> TemplateHandler(string template)
The JavaScript function that returns the template.
Returns:Defines the template that renders the event editors.
public SchedulerEditableSettingsBuilder<T> TemplateId(string templateId)
The "id" attribute of the external Kendo UI Template.
Returns:Defines the EditorTemplate (View) that contains the event editors.
public SchedulerEditableSettingsBuilder<T> TemplateName(string name)
The name of the View in the "EditorTemplates" folder.
Returns:Defines the View that contains the template with the event editors.
public SchedulerEditableSettingsBuilder<T> TemplateView(MvcHtmlString template)
The Razor View that contains the event editors.
Returns:If set to true the user can update events. Updating is enabled by default.
public SchedulerEditableSettingsBuilder<T> Update(bool update)
The update
Returns:Configures the Scheduler Dialog instance, which is used for editing of events. The configuration is optional.
public SchedulerEditableSettingsBuilder<T> Window(Action<DialogBuilder> configurator)