[]
Defines a builder to configurate InputDateBase.
public abstract class InputDateBaseBuilder<TControl, TBuilder> : DropDownBuilder<TControl, TBuilder>, IHtmlString where TControl : InputDateBase where TBuilder : InputDateBaseBuilder<TControl, TBuilder>
| Name | Description |
|---|---|
| TControl | |
| TBuilder |
| Name | Description |
|---|---|
| InputDateBaseBuilder(TControl) | Creates one InputDateBaseBuilder<TControl, TBuilder> instance to configurate |
| Name | Description |
|---|---|
| AlwaysShowCalendar(bool) | Configurates AlwaysShowCalendar. Sets a value that determines whether the calendar should remain visible in the dropdown even when there are selected predefined ranges. |
| CloseOnSelection(bool) | Configurates CloseOnSelection. Sets a value that determines whether the control should automatically close the drop-down when the user makes a selection. |
| Format(string) | Configurates Format. Sets the format used to display the selected date. |
| HandleWheel(bool) | Configurates HandleWheel. Sets a value that determines whether the user can edit the current value using the mouse wheel. |
| InputType(string) | Configurates InputType. Sets the "type" attribute of the HTML input element hosted by the control. |
| IsRequired(bool) | Configurates IsRequired. Sets a value indicating whether the control value must be a Date or whether it can be set to null (by deleting the content of the control). |
| ItemFormatter(string) | Configurates ItemFormatter. Sets a formatter function to customize dates in the drop-down calendar. |
| ItemValidator(string) | Configurates ItemValidator. Sets the name of a validator javascript function to determine whether dates are valid for selection. |
| Mask(string) | Configurates Mask. Sets a mask to use while editing. |
| Max(DateTime) | Configurates Max. Sets the latest date that the user can enter. |
| Min(DateTime) | Configurates Min. Sets the earliest date that the user can enter. |
| MonthCount(int) | Configurates MonthCount. Sets the number of months to display in the drop-down calendar. |
| OnClientInvalidInput(string) | Configurates the OnClientInvalidInput client event. Occurs when invalid input is detected. |
| OnClientRangeChanged(string) | Configurates the OnClientRangeChanged client event. Occurs when the value of the rangeEnd property changes into a non-null value, indicating a data range has been selected. |
| OnClientRangeEndChanged(string) | Configurates the OnClientRangeEndChanged client event. Occurs when the value of the RangeEnd property changes. |
| OnClientValueChanged(string) | Configurates the OnClientValueChanged client event. Occurs after a new date is selected. |
| PredefinedRanges(string) | Configurates PredefinedRanges. Sets a function that return the predefined ranges. |
| RangeEnd(DateTime?) | Configurates RangeEnd. Sets the last selected date in a range selection. |
| RangeMax(int) | Configurates RangeMax. Sets the maximum length allowed when editing date ranges. |
| RangeMin(int) | Configurates RangeMin. Sets the minimum number of days allowed when editing date ranges. |
| RepeatButtons(bool) | Configurates RepeatButtons. Sets a value that determines whether the calendar buttons should act as repeat buttons, firing repeatedly as the button remains pressed. |
| SelectionMode(DateSelectionMode) | Configurates SelectionMode. Sets a value that indicates whether users can select days, months, or no values at all. |
| ShowMonthPicker(ShowMonthPicker) | Configurates ShowMonthPicker. Sets a value that determines whether the calendar should display a list of months when the user clicks the header element on the month calendar. |
| ShowYearPicker(bool) | Configurates ShowYearPicker. Sets a value that determines whether the calendar should display a list of years when the user clicks the header element on the year calendar. |
| Value(DateTime?) | Configurates Value. Sets the current date. |
| WeeksAfter(int) | Configurates WeeksAfter. Sets the number of weeks to show on the calendar after the current month. |
| WeeksBefore(int) | Configurates WeeksBefore. Sets the number of weeks to show on the calendar before the current month. |