DateInputBuilder
Defines the fluent API for configuring the Kendo DateInput for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DateInputBuilder : WidgetBuilderBase<DateInput, DateInputBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<DateInput, DateInputBuilder>DateInputBuilder
Implements:
Inherited Members
Constructors
Methods
If this property is enabled and you have configured min and/or max values, and the user enters a value that falls out of that range, the value will automatically be set to either the minimum or maximum allowed value.
public DateInputBuilder AutoAdjust(bool value)
The value that configures the autoadjust.
Returns:Specifies whether automatically corrects the segment when out of range.
public DateInputBuilder AutoCorrectParts(bool value)
The boolean value.
Returns:A string array representing keys that when pressed will force a move to the next segment. By default the culture specific symbols that match '/' and ':' are used.
public DateInputBuilder AutoSwitchKeys(params string[] value)
The value that configures the keys.
Returns:A value indicating whether to automatically move to the next segment after a valid value is provided for the current
public DateInputBuilder AutoSwitchParts(bool value)
The value that configures the autoswitchparts.
Returns:Specifies whether the mouse scroll can be used to increase/decrease the segment values.
public DateInputBuilder EnableMouseWheel(bool value)
The boolean value.
Returns:Configures the client-side events.
public DateInputBuilder Events(Action<DateInputEventBuilder> configurator)
The client events action.
Returns:Sets the type of the fillMode option that controls how the color is applied to the rendered input.
public DateInputBuilder FillMode(FillMode value)
The value that configures the fillmode.
Returns:Specifies the format of the value displayed in the input. The format also will be used to parse the input.
public DateInputBuilder Format(string value)
The value that configures the format.
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 DateInputBuilder InputMode(string value)
The value that configures the "inputmode" attribute.
Returns:Adds a label before the dateinput. If the dateinput has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.
public DateInputBuilder Label(Action<DateInputLabelSettingsBuilder> configurator)
The action that configures the label.
Returns:Specifies the maximum date which can be entered in the input.
public DateInputBuilder Max(DateTime? value)
The DateTime value that sets the maximum date.
Returns:Specifies the maximum date which can be entered in the input.
public DateInputBuilder Max(DateTime value)
The DateTime value that sets the maximum date.
Returns:The DateInput messages for customization or localization of the placeholders of each date/time part.
public DateInputBuilder Messages(Action<DateInputMessagesSettingsBuilder> configurator)
The action that configures the messages.
Returns:Specifies the minimum date that which be entered in the input.
public DateInputBuilder Min(DateTime? value)
The DateTime value that sets the minimum date.
Returns:Specifies the minimum date that which be entered in the input.
public DateInputBuilder Min(DateTime value)
The DateTime value that sets the minimum date.
Returns:Sets the size of the border radius of the rendered input.
public DateInputBuilder Rounded(Rounded value)
The value that configures the border radius.
Returns:Sets the size of the component.
public DateInputBuilder Size(ComponentSize value)
The value that configures the size.
Returns:Specifies the steps for incrementing/decrementing the different segments.
public DateInputBuilder Steps(Action<DateInputStepsSettingsBuilder> configurator)
The action that configures the steps.
Returns:Sets the maximum year value that is considered part of the current century.
public DateInputBuilder TwoDigitYearMax(double value)
The value that configures the TwoDigitYearMax.
Returns:Specifies the selected date.
public DateInputBuilder Value(DateTime? value)
The value that configures the selected date.
Returns:Specifies the selected date.
public DateInputBuilder Value(DateTime value)
The value that configures the selected date.
Returns: