Defines the fluent API for configuring the Kendo TimeDurationPicker for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TimeDurationPickerBuilder : WidgetBuilderBase<TimeDurationPicker, TimeDurationPickerBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<TimeDurationPicker, TimeDurationPickerBuilder>TimeDurationPickerBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the TimeDurationPicker class.
public TimeDurationPickerBuilder(TimeDurationPicker component)
The component.
Methods
Specifies the adaptive rendering of the component.
public TimeDurationPickerBuilder AdaptiveMode(AdaptiveMode value)
The value that configures the adaptivemode.
Returns:Allows customization of the subtitle's text in the adaptive view of the component.
public TimeDurationPickerBuilder AdaptiveSubtitle(string value)
The value that configures the adaptivesubtitle.
Returns:Allows customization of the title's text in the adaptive view of the component.
public TimeDurationPickerBuilder AdaptiveTitle(string value)
The value that configures the adaptivetitle.
Returns:The configuration of the picker columns. An array of JavaScript objects or strings. JavaScript objects are interpreted as column configurations. Strings are interpreted as the a predifined column with defaulted values for the particular time unit.
public TimeDurationPickerBuilder Columns(Action<TimeDurationPickerColumnFactory> configurator)
The action that configures the columns.
Returns:If set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
public TimeDurationPickerBuilder Enable(bool value)
The value that configures the enable.
Returns:Configures the client-side events.
public TimeDurationPickerBuilder Events(Action<TimeDurationPickerEventBuilder> configurator)
The client events action.
Returns:Sets a value controlling how the color is applied.
public TimeDurationPickerBuilder FillMode(FillMode value)
The value that configures the fillmode.
Returns:Specifies the inputmode attribute of the inner <input /> element. It is used to specify the type of on-screen keyboard that should be displayed when the user focuses the input.
public TimeDurationPickerBuilder InputMode(string value)
The value that configures the inputmode.
Returns:Allows localization of the strings that are used in the widget.
public TimeDurationPickerBuilder Messages(Action<TimeDurationPickerMessagesSettingsBuilder> configurator)
The action that configures the messages.
Returns:If set to true, the widget will be readonly and will not allow user input. The widget is not readonly by default and allows user input.
public TimeDurationPickerBuilder Readonly(bool value)
The value that configures the readonly.
Returns:Sets a value controlling the border radius.
public TimeDurationPickerBuilder Rounded(Rounded value)
The value that configures the rounded.
Returns:Sets a string value that is used to devide the different column values inside the input. The value must be a single character, you cannot use more than one character as a separator.
public TimeDurationPickerBuilder Separator(string value)
The value that configures the separator.
Returns:An array of buttons that hold certain timeframe values and will be displayed in the popup
public TimeDurationPickerBuilder Shortcuts(Action<TimeDurationPickerShortcutFactory> configurator)
The action that configures the shortcuts.
Returns:Sets a value controlling the size of the component.
public TimeDurationPickerBuilder Size(ComponentSize value)
The value that configures the size.
Returns:The value of the widget in milliseconds
public TimeDurationPickerBuilder Value(double? value)
The value that configures the value.
Returns: