Skip to main content
All docs
V25.2
  • DateRangeBoxBuilder Methods

    A DateRangeBox UI 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.
    ApplyButtonText(JS) Specifies the Apply button's text. Mirrors the client-side applyButtonText option.
    ApplyButtonText(String) Specifies the Apply button's text. Mirrors the client-side applyButtonText option.
    ApplyValueMode(EditorApplyValueMode) Specifies the way an end user applies the selected value. Mirrors the client-side applyValueMode option.
    Buttons(Action<CollectionFactory<TextEditorButtonBuilder>>) Mirrors the client-side buttons option.
    Buttons(IEnumerable<DropDownEditorButtonName>) Mirrors the client-side buttons option.
    CalendarOptions(Action<CalendarBuilder>) Configures the calendar's value picker. Mirrors the client-side calendarOptions option.
    CancelButtonText(JS) Specifies the Cancel button's text. Mirrors the client-side cancelButtonText option.
    CancelButtonText(String) Specifies the Cancel button's text. Mirrors the client-side cancelButtonText option.
    DateSerializationFormat(JS) Specifies the date value serialization format. Mirrors the client-side dateSerializationFormat option.
    DateSerializationFormat(String) Specifies the date value serialization format. 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) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
    Disabled(Boolean) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
    DisableOutOfRangeSelection(JS) Specifies whether the UI component disables date selection before the start date and after the end date. Mirrors the client-side disableOutOfRangeSelection option.
    DisableOutOfRangeSelection(Boolean) Specifies whether the UI component disables date selection before the start date and after the end date. Mirrors the client-side disableOutOfRangeSelection option.
    DisplayFormat(Format) Specifies the date's display format. Mirrors the client-side displayFormat option.
    DisplayFormat(JS) Specifies the date's display format. Mirrors the client-side displayFormat option.
    DisplayFormat(Action<FormatBuilder>) Specifies the date's display format. Mirrors the client-side displayFormat option.
    DisplayFormat(String) Specifies the date's display format. Mirrors the client-side displayFormat option.
    DropDownButtonTemplate(JS) Specifies a custom template for the drop-down button. Mirrors the client-side dropDownButtonTemplate option.
    DropDownButtonTemplate(RazorBlock) Specifies a custom template for the drop-down button. Mirrors the client-side dropDownButtonTemplate option.
    DropDownButtonTemplate(TemplateName) Specifies a custom template for the drop-down button. Mirrors the client-side dropDownButtonTemplate option.
    DropDownButtonTemplate(String) Specifies a custom template for the drop-down button. Mirrors the client-side dropDownButtonTemplate option.
    DropDownOptions(Action<PopupBuilder>) Configures the drop-down that holds the content. Mirrors the client-side dropDownOptions option.
    ElementAttr(JS) Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
    ElementAttr(Dictionary<String, Object>) Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
    ElementAttr(Object) Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
    ElementAttr(String, Object) Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
    EndDate(JS) Specifies the range's end date. Mirrors the client-side endDate option.
    EndDate(DateTime) Specifies the range's end date. Mirrors the client-side endDate option.
    EndDate(Double) Specifies the range's end date. Mirrors the client-side endDate option.
    EndDate(String) Specifies the range's end date. Mirrors the client-side endDate option.
    EndDateInputAttr(Object) Specifies the attributes passed to the end date input field. Mirrors the client-side endDateInputAttr option.
    EndDateLabel(JS) Specifies the label of the end date input field. Mirrors the client-side endDateLabel option.
    EndDateLabel(String) Specifies the label of the end date input field. Mirrors the client-side endDateLabel option.
    EndDateName(JS) Specifies the name attribute of the end date input field. Mirrors the client-side endDateName option.
    EndDateName(String) Specifies the name attribute of the end date input field. Mirrors the client-side endDateName option.
    EndDateOutOfRangeMessage(JS) Specifies the message displayed if the specified end date is later than the max value or earlier than the min value. Mirrors the client-side endDateOutOfRangeMessage option.
    EndDateOutOfRangeMessage(String) Specifies the message displayed if the specified end date is later than the max value or earlier than the min value. Mirrors the client-side endDateOutOfRangeMessage option.
    EndDatePlaceholder(JS) Specifies a placeholder for the end date input field. Mirrors the client-side endDatePlaceholder option.
    EndDatePlaceholder(String) Specifies a placeholder for the end date input field. Mirrors the client-side endDatePlaceholder option.
    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.
    InvalidEndDateMessage(JS) Specifies a message for invalid end date input. Mirrors the client-side invalidEndDateMessage option.
    InvalidEndDateMessage(String) Specifies a message for invalid end date input. Mirrors the client-side invalidEndDateMessage option.
    InvalidStartDateMessage(JS) Specifies a message for invalid start date input. Mirrors the client-side invalidStartDateMessage option.
    InvalidStartDateMessage(String) Specifies a message for invalid start date input. Mirrors the client-side invalidStartDateMessage option.
    IsDirty(JS) Mirrors the client-side isDirty option.
    IsDirty(Boolean) Mirrors the client-side isDirty option.
    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.
    LabelMode(EditorLabelMode) Specifies the label's display mode. Mirrors the client-side labelMode option.
    Max(JS) The latest date that can be selected in the UI component. Mirrors the client-side max option.
    Max(DateTime) The latest date that can be selected in the UI component. Mirrors the client-side max option.
    Max(Double) The latest date that can be selected in the UI component. Mirrors the client-side max option.
    Max(String) The latest date that can be selected in the UI component. Mirrors the client-side max option.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    Min(JS) The earliest date that can be selected in the UI component. Mirrors the client-side min option.
    Min(DateTime) The earliest date that can be selected in the UI component. Mirrors the client-side min option.
    Min(Double) The earliest date that can be selected in the UI component. Mirrors the client-side min option.
    Min(String) The earliest date that can be selected in the UI component. Mirrors the client-side min option.
    MultiView(JS) Specifies whether the UI component displays a single-month calendar or a multi-month calendar. Mirrors the client-side multiView option.
    MultiView(Boolean) Specifies whether the UI component displays a single-month calendar or a multi-month calendar. Mirrors the client-side multiView 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 popup calendar by clicking an input field. Mirrors the client-side openOnFieldClick option.
    OpenOnFieldClick(Boolean) Specifies whether a user can open the popup calendar by clicking an input field. Mirrors the client-side openOnFieldClick option.
    Option(String, Object) Specifies an option by its name.
    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.
    ShowClearButton(JS) Specifies whether to display the Clear button in the UI component. Mirrors the client-side showClearButton option.
    ShowClearButton(Boolean) Specifies whether to display the Clear button in the UI component. 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.
    StartDate(JS) Specifies the start date of date range. Mirrors the client-side startDate option.
    StartDate(DateTime) Specifies the start date of date range. Mirrors the client-side startDate option.
    StartDate(Double) Specifies the start date of date range. Mirrors the client-side startDate option.
    StartDate(String) Specifies the start date of date range. Mirrors the client-side startDate option.
    StartDateInputAttr(Object) Specifies the attributes passed to the start date input field. Mirrors the client-side startDateInputAttr option.
    StartDateLabel(JS) Specifies a label of the start date input field. Mirrors the client-side startDateLabel option.
    StartDateLabel(String) Specifies a label of the start date input field. Mirrors the client-side startDateLabel option.
    StartDateName(JS) Specifies the name attribute of the start date input field. Mirrors the client-side startDateName option.
    StartDateName(String) Specifies the name attribute of the start date input field. Mirrors the client-side startDateName option.
    StartDateOutOfRangeMessage(JS) Specifies the message displayed if the specified start date is later than the max value or earlier than the min value. Mirrors the client-side startDateOutOfRangeMessage option.
    StartDateOutOfRangeMessage(String) Specifies the message displayed if the specified start date is later than the max value or earlier than the min value. Mirrors the client-side startDateOutOfRangeMessage option.
    StartDatePlaceholder(JS) Specifies a placeholder for the start date input field. Mirrors the client-side startDatePlaceholder option.
    StartDatePlaceholder(String) Specifies a placeholder for the start date input field. Mirrors the client-side startDatePlaceholder 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) Specified the Today button's text. Mirrors the client-side todayButtonText option.
    TodayButtonText(String) Specified the Today button's text. 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.
    UseMaskBehavior(JS) Specifies whether to use an input mask based on the displayFormat property. Mirrors the client-side useMaskBehavior option.
    UseMaskBehavior(Boolean) Specifies whether to use an input mask based on the displayFormat property. 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) Specifies the position of a validation message relative to the component. The validation message describes the validation rules that this component's value does not satisfy. Mirrors the client-side validationMessagePosition option.
    ValidationMessagePosition(Position) Specifies the position of a validation message relative to the component. The validation message describes the validation rules that this component's value does not satisfy. Mirrors the client-side validationMessagePosition option.
    ValidationRules(Action<ValidationRulesFactory>) Specifies validation rules for the control.
    ValidationStatus(ValidationStatus) Indicates or specifies the current validation status. Mirrors the client-side validationStatus option.
    Value(JS) An array that specifies the selected range (start and end dates). Mirrors the client-side value option.
    Value(IEnumerable<DateTime>) An array that specifies the selected range (start and end dates). Mirrors the client-side value option.
    Value(IEnumerable<Double>) An array that specifies the selected range (start and end dates). Mirrors the client-side value option.
    Value(IEnumerable<String>) An array that specifies the selected range (start and end dates). 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