Defines the fluent interface for configuring the SelectionSettings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CalendarSelectionSettingsBuilder
Inheritance: objectCalendarSelectionSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the CalendarSelectionSettingsBuilder class.
public CalendarSelectionSettingsBuilder(CalendarSelectionSettings settings)
The selection settings.
Methods
Sets the action to which the specified dates must navigate.
public CalendarSelectionSettingsBuilder Action(RouteValueDictionary routeValues)
The route values of the Action method.
Returns:CalendarSelectionSettingsBuilder
Returns the current CalendarSelectionSettingsBuilder instance.
Sets the action to which the specified dates must navigate.
public CalendarSelectionSettingsBuilder Action(string action, string controller, object values)
Name of the action.
controllerstringName of the controller.
valuesobjectThe route values.
Returns:CalendarSelectionSettingsBuilder
Returns the current CalendarSelectionSettingsBuilder instance.
Defines list of dates that must be rendered with action link.
public CalendarSelectionSettingsBuilder Dates(IList<DateTime> dates)
List of DateTime objects
Returns:CalendarSelectionSettingsBuilder
Returns the current CalendarSelectionSettingsBuilder instance.