Defines the fluent API for configuring the Kendo UI TimeDurationPicker
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TimeDurationPickerBuilder : MvvmWidgetBuilderBase<TimeDurationPicker, TimeDurationPickerBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<TimeDurationPicker, TimeDurationPickerBuilder>MvvmWidgetBuilderBase<TimeDurationPicker, TimeDurationPickerBuilder>TimeDurationPickerBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the TimeDurationPickerBuilder class.
public TimeDurationPickerBuilder(TimeDurationPicker component)
Methods
Specifies the adaptive rendering of the component.
public TimeDurationPickerBuilder AdaptiveMode(AdaptiveMode value)
The value for AdaptiveMode
Returns:Returns the current TimeDurationPickerBuilder instance.
Allows customization of the subtitle's text in the adaptive view of the component.
public TimeDurationPickerBuilder AdaptiveSubtitle(string value)
The value for AdaptiveSubtitle
Returns:Returns the current TimeDurationPickerBuilder instance.
Allows customization of the title's text in the adaptive view of the component.
public TimeDurationPickerBuilder AdaptiveTitle(string value)
The value for AdaptiveTitle
Returns:Returns the current TimeDurationPickerBuilder instance.
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 TimeDurationPickerColumnFactory for the columns setting.
Returns:Returns the current instance of TimeDurationPickerBuilder .
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 for Enable
Returns:Returns the current TimeDurationPickerBuilder instance.
Configures the client-side events.
public TimeDurationPickerBuilder Events(Action<TimeDurationPickerEventBuilder> configurator)
The client events action.
Returns:Returns the current TimeDurationPickerBuilder instance.
Sets a value controlling how the color is applied.
public TimeDurationPickerBuilder FillMode(FillMode value)
The value for FillMode
Returns:Returns the current TimeDurationPickerBuilder instance.
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 for InputMode
Returns:Returns the current TimeDurationPickerBuilder instance.
Allows localization of the strings that are used in the widget.
public TimeDurationPickerBuilder Messages(Action<TimeDurationPickerMessagesSettingsBuilder> configurator)
The TimeDurationPickerMessagesSettingsBuilder for the messages setting.
Returns:Returns the current instance of TimeDurationPickerBuilder .
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()
Returns the current TimeDurationPickerBuilder instance.
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 for Readonly
Returns:Returns the current TimeDurationPickerBuilder instance.
Sets a value controlling the border radius.
public TimeDurationPickerBuilder Rounded(Rounded value)
The value for Rounded
Returns:Returns the current TimeDurationPickerBuilder instance.
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 for Separator
Returns:Returns the current TimeDurationPickerBuilder instance.
An array of buttons that hold certain timeframe values and will be displayed in the popup
public TimeDurationPickerBuilder Shortcuts(Action<TimeDurationPickerShortcutFactory> configurator)
The TimeDurationPickerShortcutFactory for the shortcuts setting.
Returns:Returns the current instance of TimeDurationPickerBuilder .
Sets a value controlling the size of the component.
public TimeDurationPickerBuilder Size(ComponentSize value)
The value for Size
Returns:Returns the current TimeDurationPickerBuilder instance.
The value of the widget in milliseconds
public TimeDurationPickerBuilder Value(double? value)
The value for Value
Returns:Returns the current TimeDurationPickerBuilder instance.