# CalendarSelectionSettingsBuilder

## Methods

### Dates(System.Collections.Generic.IList)

Defines list of dates that must be rendered with action link.

#### Parameters

##### dates - `System.Collections.Generic.IList<DateTime>`

List of System.DateTime objects

#### RETURNS

Returns the current [CalendarSelectionSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/calendarselectionsettingsbuilder) instance.

#### Example

```
 
             @( Html.Kendo().Calendar()
                        .Name("Calendar")
                        .Selection(s => s.Dates(new List<DateTime>(){new DateTime(2024,1,4), new DateTime(2024,1,5)}))
            )
             
```

### Action(Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the action to which the specified dates must navigate.

#### Parameters

##### routeValues - `Microsoft.AspNetCore.Routing.RouteValueDictionary`

The route values of the Action method.

#### RETURNS

Returns the current [CalendarSelectionSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/calendarselectionsettingsbuilder) instance.

#### Example

```
 
             @( Html.Kendo().Calendar()
                        .Name("Calendar")
                        .Selection(s => s.Action("Save", "Home", new { id = "123" }).Dates(new List<DateTime>(){new DateTime(2024,1,4), new DateTime(2024,1,5)}))
            )
             
```

### Action(System.String,System.String,System.Object)

Sets the action to which the specified dates must navigate.

#### Parameters

##### action - `System.String`

Name of the action.

##### controller - `System.String`

Name of the controller.

##### values - `System.Object`

The route values.

#### RETURNS

Returns the current [CalendarSelectionSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/calendarselectionsettingsbuilder) instance.

#### Example

```
 
             @( Html.Kendo().Calendar()
                        .Name("Calendar")
                        .Selection(s => s.Action("Save", "Home", new { id = "123" }).Dates(new List<DateTime>(){new DateTime(2024,1,4), new DateTime(2024,1,5)}))
            )
             
```
