Kendo.Mvc.UI.Fluent.TimePickerBuilder
Defines the fluent interface for configuring the TimePicker component.
Methods
Value(System.Nullable<System.TimeSpan>)
Sets the value of the timepicker input
Min(System.TimeSpan)
Sets the minimum time, which can be selected in timepicker
Min(System.String)
Sets the minimum time, which can be selected in timepicker
Max(System.TimeSpan)
Sets the maximum time, which can be selected in timepicker
Max(System.String)
Sets the maximum time, which can be selected in timepicker
Interval(System.Int32)
Sets the interval between hours.
BindTo(System.Collections.Generic.IList<System.DateTime>)
Binds the TimePicker to a list of DateTime objects.
Example (ASPX)
<%: Html.Kendo().TimePicker()
.Name("TimePicker")
.BindTo(new List<DateTime>
{
DateTime.Now
})
%>
ComponentType(System.String)
Specifies the component type of the widget. "classic" - Uses the standard rendering of the widget. or "modern" - Uses new rendering with a fresh and modern look and feel..
Parameters
value System.String
The value for ComponentType
Size(Kendo.Mvc.UI.ComponentSize)
Sets the size of the component.
Parameters
value Kendo.Mvc.UI.ComponentSize
The value for Size
Rounded(Kendo.Mvc.UI.Rounded)
Sets a value controlling the border radius.
Parameters
value Kendo.Mvc.UI.Rounded
The value for Rounded
FillMode(Kendo.Mvc.UI.FillMode)
Sets a value controlling how the color is applied.
Parameters
value Kendo.Mvc.UI.FillMode
The value for FillMode