DateBoxBuilder Methods
A DateBox control.| Name | Description |
|---|---|
| AcceptCustomValue(JS) | Specifies whether or not the UI component allows an end user to enter a custom value. Mirrors the client-side acceptCustomValue option. |
| AcceptCustomValue(Boolean) | Specifies whether or not the UI component allows an end user to enter a custom value. Mirrors the client-side acceptCustomValue option. |
| AccessKey(JS) | Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option. |
| AccessKey(String) | Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option. |
| ActiveStateEnabled(JS) | Mirrors the client-side activeStateEnabled option. |
| ActiveStateEnabled(Boolean) | Mirrors the client-side activeStateEnabled option. |
| AdaptivityEnabled(JS) | Specifies whether or not adaptive UI component rendering is enabled on a small screen. Mirrors the client-side adaptivityEnabled option. |
| AdaptivityEnabled(Boolean) | Specifies whether or not adaptive UI component rendering is enabled on a small screen. Mirrors the client-side adaptivityEnabled option. |
| ApplyButtonText(JS) | The text displayed on the Apply button. Mirrors the client-side applyButtonText option. |
| ApplyButtonText(String) | The text displayed on the Apply button. Mirrors the client-side applyButtonText option. |
| ApplyValueMode(EditorApplyValueMode) | Mirrors the client-side applyValueMode option. |
| Buttons(Action<CollectionFactory<TextEditorButtonBuilder>>) | Provides access to the client-side buttons option that represents an editor button collection. |
| Buttons(IEnumerable<DropDownEditorButtonName>) | Mirrors the client-side buttons option. |
| CalendarOptions(Action<CalendarBuilder>) | Configures the calendar's value picker. Applies only if the pickerType is 'calendar'. Mirrors the client-side calendarOptions object. |
| CancelButtonText(JS) | The text displayed on the Cancel button. Mirrors the client-side cancelButtonText option. |
| CancelButtonText(String) | The text displayed on the Cancel button. Mirrors the client-side cancelButtonText option. |
| DateOutOfRangeMessage(JS) | Specifies the message displayed if the specified date is later than the max value or earlier than the min value. Mirrors the client-side dateOutOfRangeMessage option. |
| DateOutOfRangeMessage(String) | Specifies the message displayed if the specified date is later than the max value or earlier than the min value. Mirrors the client-side dateOutOfRangeMessage option. |
| DateSerializationFormat(JS) | Mirrors the client-side dateSerializationFormat option. |
| DateSerializationFormat(String) | Mirrors the client-side dateSerializationFormat option. |
| DeferRendering(JS) | Specifies whether to render the drop-down field's content when it is displayed. If false, the content is rendered immediately. Mirrors the client-side deferRendering option. |
| DeferRendering(Boolean) | Specifies whether to render the drop-down field's content when it is displayed. If false, the content is rendered immediately. Mirrors the client-side deferRendering option. |
| Disabled(JS) | Mirrors the client-side disabled option. |
| Disabled(Boolean) | Mirrors the client-side disabled option. |
| DisabledDates(JS) | Specifies dates that users cannot select. Applies only if pickerType is 'calendar'. Mirrors the client-side disabledDates option. |
| DisabledDates(RazorBlock) | Specifies dates that users cannot select. Applies only if pickerType is 'calendar'. Mirrors the client-side disabledDates option. |
| DisabledDates(IEnumerable<DateTime>) | Specifies dates that users cannot select. Applies only if pickerType is 'calendar'. Mirrors the client-side disabledDates option. |
| DisabledDates(String) | Specifies dates that users cannot select. Applies only if pickerType is 'calendar'. Mirrors the client-side disabledDates option. |
| DisplayFormat(Format) | Specifies the date display format. Ignored if the pickerType property is 'native' Mirrors the client-side displayFormat option. |
| DisplayFormat(JS) | Specifies the date display format. Ignored if the pickerType property is 'native' Mirrors the client-side displayFormat option. |
| DisplayFormat(Action<FormatBuilder>) | Specifies the date display format. Ignored if the pickerType property is 'native' Mirrors the client-side displayFormat object. |
| DisplayFormat(String) | Specifies the date display format. Ignored if the pickerType property is 'native' Mirrors the client-side displayFormat option. |
| DropDownButtonTemplate(JS) | Specifies the client-side dropDownButtonTemplate. |
| DropDownButtonTemplate(RazorBlock) | Specifies the client-side dropDownButtonTemplate. |
| DropDownButtonTemplate(TemplateName) | Specifies the client-side dropDownButtonTemplate. |
| DropDownButtonTemplate(String) | Specifies the client-side dropDownButtonTemplate. |
| DropDownOptions(Action<PopupBuilder>) | Mirrors the client-side dropDownOptions option. |
| ElementAttr(JS) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
| ElementAttr(Dictionary<String, Object>) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
| ElementAttr(Object) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
| ElementAttr(String, Object) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| FocusStateEnabled(JS) | Mirrors the client-side focusStateEnabled option. |
| FocusStateEnabled(Boolean) | Mirrors the client-side focusStateEnabled option. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| Height(JS) | Specifies the UI component's height. Mirrors the client-side height option. |
| Height(Double) | Specifies the UI component's height. Mirrors the client-side height option. |
| Height(String) | Specifies the UI component's height. Mirrors the client-side height option. |
| Hint(JS) | Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option. |
| Hint(String) | Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option. |
| HoverStateEnabled(JS) | Mirrors the client-side hoverStateEnabled option. |
| HoverStateEnabled(Boolean) | Mirrors the client-side hoverStateEnabled option. |
| ID(JS) |
Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
|
| ID(String) |
Specifies the id attribute for the control’s HTML element.
|
| InputAttr(JS) |
Mirrors the client-side inputAttr option, specifies attributes for the control’s underlying <input> HTML element.
|
| InputAttr(Dictionary<String, Object>) |
Mirrors the client-side inputAttr option, specifies attributes for the control’s underlying <input> HTML element.
|
| InputAttr(Object) |
Mirrors the client-side inputAttr option, specifies attributes for the control’s underlying <input> HTML element.
|
| InputAttr(String, Object) |
Mirrors the client-side inputAttr option, specifies attributes for the control’s underlying <input> HTML element.
|
| Interval(JS) | Specifies the interval between neighboring values in the popup list in minutes. Mirrors the client-side interval option. |
| Interval(Double) | Specifies the interval between neighboring values in the popup list in minutes. Mirrors the client-side interval option. |
| InvalidDateMessage(JS) | Specifies the message displayed if the typed value is not a valid date or time. Mirrors the client-side invalidDateMessage option. |
| InvalidDateMessage(String) | Specifies the message displayed if the typed value is not a valid date or time. Mirrors the client-side invalidDateMessage option. |
| IsDirty(JS) | |
| IsDirty(Boolean) | |
| IsValid(JS) | Specifies or indicates whether the editor's value is valid. Mirrors the client-side isValid option. |
| IsValid(Boolean) | Specifies or indicates whether the editor's value is valid. Mirrors the client-side isValid option. |
| Label(JS) | |
| Label(String) | |
| LabelMode(EditorLabelMode) | |
| Max(JS) | The last date that can be selected within the UI component. Mirrors the client-side max option. |
| Max(DateTime) | The last date that can be selected within the UI component. Mirrors the client-side max option. |
| Max(Double) | The last date that can be selected within the UI component. Mirrors the client-side max option. |
| Max(String) | The last date that can be selected within the UI component. Mirrors the client-side max option. |
| MaxLength(JS) | Specifies the maximum number of characters you can enter into the textbox. Mirrors the client-side maxLength option. |
| MaxLength(Int32) | Specifies the maximum number of characters you can enter into the textbox. Mirrors the client-side maxLength option. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| Min(JS) | The minimum date that can be selected within the UI component. Mirrors the client-side min option. |
| Min(DateTime) | The minimum date that can be selected within the UI component. Mirrors the client-side min option. |
| Min(Double) | The minimum date that can be selected within the UI component. Mirrors the client-side min option. |
| Min(String) | The minimum date that can be selected within the UI component. Mirrors the client-side min option. |
| Name(JS) |
The value to be assigned to the name attribute of the underlying HTML element. Mirrors the client-side name option.
|
| Name(String) |
The value to be assigned to the name attribute of the underlying HTML element. Mirrors the client-side name option.
|
| OnChange(RazorBlock) | A function that is executed when the UI component loses focus after the text field's content was changed using the keyboard. Mirrors the client-side onChange option. |
| OnChange(String) | A function that is executed when the UI component loses focus after the text field's content was changed using the keyboard. Mirrors the client-side onChange option. |
| OnClosed(RazorBlock) | A function that is executed once the drop-down editor is closed. Mirrors the client-side onClosed option. |
| OnClosed(String) | A function that is executed once the drop-down editor is closed. Mirrors the client-side onClosed option. |
| OnContentReady(RazorBlock) | A function that is executed when the UI component is rendered and each time the component is repainted. Mirrors the client-side onContentReady option. |
| OnContentReady(String) | A function that is executed when the UI component is rendered and each time the component is repainted. Mirrors the client-side onContentReady option. |
| OnCopy(RazorBlock) | A function that is executed when the UI component's input has been copied. Mirrors the client-side onCopy option. |
| OnCopy(String) | A function that is executed when the UI component's input has been copied. Mirrors the client-side onCopy option. |
| OnCut(RazorBlock) | A function that is executed when the UI component's input has been cut. Mirrors the client-side onCut option. |
| OnCut(String) | A function that is executed when the UI component's input has been cut. Mirrors the client-side onCut option. |
| OnDisposing(RazorBlock) | A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option. |
| OnDisposing(String) | A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option. |
| OnEnterKey(RazorBlock) | A function that is executed when the Enter key has been pressed while the UI component is focused. Mirrors the client-side onEnterKey option. |
| OnEnterKey(String) | A function that is executed when the Enter key has been pressed while the UI component is focused. Mirrors the client-side onEnterKey option. |
| OnFocusIn(RazorBlock) | A function that is executed when the UI component gets focus. Mirrors the client-side onFocusIn option. |
| OnFocusIn(String) | A function that is executed when the UI component gets focus. Mirrors the client-side onFocusIn option. |
| OnFocusOut(RazorBlock) | A function that is executed when the UI component loses focus. Mirrors the client-side onFocusOut option. |
| OnFocusOut(String) | A function that is executed when the UI component loses focus. Mirrors the client-side onFocusOut option. |
| OnInitialized(RazorBlock) | A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option. |
| OnInitialized(String) | A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option. |
| OnInput(RazorBlock) | A function that is executed each time the UI component's input is changed while the UI component is focused. Mirrors the client-side onInput option. |
| OnInput(String) | A function that is executed each time the UI component's input is changed while the UI component is focused. Mirrors the client-side onInput option. |
| OnKeyDown(RazorBlock) | A function that is executed when a user is pressing a key on the keyboard. Mirrors the client-side onKeyDown option. |
| OnKeyDown(String) | A function that is executed when a user is pressing a key on the keyboard. Mirrors the client-side onKeyDown option. |
| OnKeyUp(RazorBlock) | A function that is executed when a user releases a key on the keyboard. Mirrors the client-side onKeyUp option. |
| OnKeyUp(String) | A function that is executed when a user releases a key on the keyboard. Mirrors the client-side onKeyUp option. |
| OnOpened(RazorBlock) | A function that is executed once the drop-down editor is opened. Mirrors the client-side onOpened option. |
| OnOpened(String) | A function that is executed once the drop-down editor is opened. Mirrors the client-side onOpened option. |
| OnOptionChanged(RazorBlock) | A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option. |
| OnOptionChanged(String) | A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option. |
| OnPaste(RazorBlock) | A function that is executed when the UI component's input has been pasted. Mirrors the client-side onPaste option. |
| OnPaste(String) | A function that is executed when the UI component's input has been pasted. Mirrors the client-side onPaste option. |
| OnValueChanged(RazorBlock) | A function that is executed after the UI component's value is changed. Mirrors the client-side onValueChanged option. |
| OnValueChanged(String) | A function that is executed after the UI component's value is changed. Mirrors the client-side onValueChanged option. |
| Opened(JS) | Specifies whether or not the drop-down editor is displayed. Mirrors the client-side opened option. |
| Opened(Boolean) | Specifies whether or not the drop-down editor is displayed. Mirrors the client-side opened option. |
| OpenOnFieldClick(JS) | Specifies whether a user can open the drop-down list by clicking a text field. Mirrors the client-side openOnFieldClick option. |
| OpenOnFieldClick(Boolean) | Specifies whether a user can open the drop-down list by clicking a text field. Mirrors the client-side openOnFieldClick option. |
| Option(String, Object) | Specifies an option by its name. |
| PickerType(DateBoxPickerType) | Specifies the type of the date/time picker. Mirrors the client-side pickerType option. |
| Placeholder(JS) | Specifies a placeholder for the input field. Mirrors the client-side placeholder option. |
| Placeholder(String) | Specifies a placeholder for the input field. Mirrors the client-side placeholder option. |
| ReadOnly(JS) | Mirrors the client-side readOnly option. |
| ReadOnly(Boolean) | Mirrors the client-side readOnly option. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| Render() | Inherited from WidgetBuilder. |
| RtlEnabled(JS) | Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option. |
| RtlEnabled(Boolean) | Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option. |
| ShowAnalogClock(JS) | Specifies whether to show the analog clock in the value picker. Applies only if type is 'datetime' and pickerType is 'calendar'. Mirrors the client-side showAnalogClock option. |
| ShowAnalogClock(Boolean) | Specifies whether to show the analog clock in the value picker. Applies only if type is 'datetime' and pickerType is 'calendar'. Mirrors the client-side showAnalogClock option. |
| ShowClearButton(JS) | Mirrors the client-side showClearButton option. |
| ShowClearButton(Boolean) | Mirrors the client-side showClearButton option. |
| ShowDropDownButton(JS) | Specifies whether the drop-down button is visible. Mirrors the client-side showDropDownButton option. |
| ShowDropDownButton(Boolean) | Specifies whether the drop-down button is visible. Mirrors the client-side showDropDownButton option. |
| Spellcheck(JS) | Specifies whether or not the UI component checks the inner text for spelling mistakes. Mirrors the client-side spellcheck option. |
| Spellcheck(Boolean) | Specifies whether or not the UI component checks the inner text for spelling mistakes. Mirrors the client-side spellcheck option. |
| StylingMode(EditorStylingMode) | Specifies how the UI component's text field is styled. Mirrors the client-side stylingMode option. |
| TabIndex(JS) | Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option. |
| TabIndex(Int32) | Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option. |
| TodayButtonText(JS) | The text displayed on the Today button. Mirrors the client-side todayButtonText option. |
| TodayButtonText(String) | The text displayed on the Today button. Mirrors the client-side todayButtonText option. |
| ToString() | Inherited from WidgetBuilder. |
| ToTemplate() | Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder. |
| Type(DateBoxType) | A format used to display date/time information. Mirrors the client-side type option. |
| UseMaskBehavior(JS) | Specifies whether to control user input using a mask created based on the displayFormat. Mirrors the client-side useMaskBehavior option. |
| UseMaskBehavior(Boolean) | Specifies whether to control user input using a mask created based on the displayFormat. Mirrors the client-side useMaskBehavior option. |
| ValidationError(Object) | Information on the broken validation rule. Contains the first item from the validationErrors array. Mirrors the client-side validationError option. |
| ValidationErrors(JS) | An array of validation errors. Mirrors the client-side validationErrors option. |
| ValidationErrors(IEnumerable) | An array of validation errors. Mirrors the client-side validationErrors option. |
| ValidationMessageMode(ValidationMessageMode) | Specifies how the message about the validation rules that are not satisfied by this editor's value is displayed. Mirrors the client-side validationMessageMode option. |
| ValidationMessagePosition(Mode) | Mirrors the client-side validationMessagePosition option. |
| ValidationMessagePosition(Position) | Mirrors the client-side validationMessagePosition option. |
| ValidationRules(Action<ValidationRulesFactory>) | |
| ValidationStatus(ValidationStatus) | Mirrors the client-side validationStatus option. |
| Value(JS) | Specifies the currently selected date and time. Mirrors the client-side value option. |
| Value(Nullable<DateTime>) | Specifies the currently selected date and time. Mirrors the client-side value option. |
| Value(Nullable<Double>) | Specifies the currently selected date and time. Mirrors the client-side value option. |
| Value(String) | Specifies the currently selected date and time. Mirrors the client-side value option. |
| ValueChangeEvent(JS) | Specifies the DOM events after which the UI component's value should be updated. Mirrors the client-side valueChangeEvent option. |
| ValueChangeEvent(String) | Specifies the DOM events after which the UI component's value should be updated. Mirrors the client-side valueChangeEvent option. |
| Visible(JS) | Specifies whether the UI component is visible. Mirrors the client-side visible option. |
| Visible(Boolean) | Specifies whether the UI component is visible. Mirrors the client-side visible option. |
| Width(JS) | Specifies the UI component's width. Mirrors the client-side width option. |
| Width(Double) | Specifies the UI component's width. Mirrors the client-side width option. |
| Width(String) | Specifies the UI component's width. Mirrors the client-side width option. |
See Also