TimePickerBuilder
Defines the fluent interface for configuring the TimePicker component.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TimePickerBuilder : DatePickerBuilderBase<TimePicker, TimePickerBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<TimePicker, TimePickerBuilder>DatePickerBuilderBase<TimePicker, TimePickerBuilder>TimePickerBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the TimePickerBuilder class.
Methods
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..
public TimePickerBuilder ComponentType(string value)
The value for ComponentType
Returns:Sets a value controlling how the color is applied.
public TimePickerBuilder FillMode(FillMode value)
The value for FillMode
Returns:Sets the default focused time when opened.
public TimePickerBuilder FocusTime(DateTime dateTime)
The DateTime value.
Returns:Defines the "inputmode" attribute of the inner <input /> element. The attribute specifies the type of on-screen keyboard displayed when the user focuses the input.
public TimePickerBuilder InputMode(string value)
The value that configures the "inputmode" attribute.
Returns:Specifies the interval between values in the popup list. When the componentType is set to modern, the interval is specified as an object of hours, minutes and seconds.
public TimePickerBuilder Interval(Action<IntervalSettingsBuilder> action)
The interval settings.
Returns:Sets the interval between hours.
Sets the maximal time that can be selected in the TimePicker component.
public TimePickerBuilder Max(string value)
The maximal time that can be set.
Returns:Sets the maximal time that can be selected in the TimePicker component.
public TimePickerBuilder Max(TimeSpan value)
The maximal time that can be set.
Returns:Sets the minimal time that can be selected in the TimePicker component.
public TimePickerBuilder Min(string value)
The minimal time that can be set.
Returns:Sets the minimal time that can be selected in the TimePicker component.
public TimePickerBuilder Min(TimeSpan value)
The minimal time that can be set.
Returns:Sets a value controlling the border radius.
public TimePickerBuilder Rounded(Rounded? value)
The value for Rounded
Returns:Sets the size of the component.
public TimePickerBuilder Size(ComponentSize? value)
The value for Size
Returns:Sets the value of the TimePicker input.
public TimePickerBuilder Value(TimeSpan? time)
The TimeSpan value.
Returns: