New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the DateInputStepsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DateInputStepsSettingsBuilder

Inheritance: objectDateInputStepsSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DateInputStepsSettingsBuilder(DateInputStepsSettings settings)
Parameters:settingsDateInputStepsSettings

The DateInputStepsSettings

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Steps(s => s.Day(5))
)

Methods

Specifies the steps for incrementing/decrementing the day segment.

C#
public DateInputStepsSettingsBuilder Day(double value)
Parameters:valuedouble

The value that configures the day step.

Returns:

DateInputStepsSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Steps(s => s.Day(5))
)

Specifies the steps for incrementing/decrementing the hour segment.

C#
public DateInputStepsSettingsBuilder Hour(double value)
Parameters:valuedouble

The value that configures the hour step.

Returns:

DateInputStepsSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Steps(s => s.Hour(5))
)

Specifies the steps for incrementing/decrementing the millisecond segment.

C#
public DateInputStepsSettingsBuilder Millisecond(double value)
Parameters:valuedouble

The value that configures the millisecond step.

Returns:

DateInputStepsSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Steps(s => s.Millisecond(5))
)

Specifies the steps for incrementing/decrementing the minute segment.

C#
public DateInputStepsSettingsBuilder Minute(double value)
Parameters:valuedouble

The value that configures the minute step.

Returns:

DateInputStepsSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Steps(s => s.Minute(5))
)

Specifies the steps for incrementing/decrementing the month segment.

C#
public DateInputStepsSettingsBuilder Month(double value)
Parameters:valuedouble

The value that configures the month step.

Returns:

DateInputStepsSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Steps(s => s.Month(5))
)

Specifies the steps for incrementing/decrementing the second segment.

C#
public DateInputStepsSettingsBuilder Second(double value)
Parameters:valuedouble

The value that configures the second step.

Returns:

DateInputStepsSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Steps(s => s.Second(5))
)

Specifies the steps for incrementing/decrementing the year segment.

C#
public DateInputStepsSettingsBuilder Year(double value)
Parameters:valuedouble

The value that configures the year step.

Returns:

DateInputStepsSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Steps(s => s.Year(5))
)