DateRangePickerRangeSettingsBuilder

Methods

Start(System.Nullable)

Sets the start date of the range selection.

Parameters

value - System.Nullable<DateTime>

Example

Razor
 
              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(range => range.Start(DateTime.Now))
              )
             

Start(System.DateOnly)

Sets the start date of the range selection.

Parameters

value - System.DateOnly

Example

Razor
 
              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(range => range.Start(new DateOnly()))
              )
             

Start(System.Nullable)

Sets the start date of the range selection.

Parameters

value - System.Nullable<DateOnly>

Example

Razor
 
              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(range => range.Start(DateTime.Now))
              )
             

End(System.Nullable)

Sets the end date of the range selection.

Parameters

value - System.Nullable<DateTime>

Example

Razor
 
              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(range => range.End(DateTime.Now))
              )
             

End(System.DateOnly)

Sets the end date of the range selection.

Parameters

value - System.DateOnly

Example

Razor
 
              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(range => range.End(new DateOnly()))
              )
             

End(System.Nullable)

Sets the end date of the range selection.

Parameters

value - System.Nullable<DateOnly>

Example

Razor
 
              @(Html.Kendo().DateRangePicker()
                        .Name("DateRangePicker")
                        .Range(range => range.End(DateTime.Now))
              )
             

Start(System.DateTime)

This sets the start date of the range selection.

Parameters

value - System.DateTime

The value for Start

End(System.DateTime)

This sets the end date of the range selection.

Parameters

value - System.DateTime

The value for End