[]
ITagHelper implementation for InputDateBase.
public abstract class InputDateBaseTagHelper<TControl> : DropDownTagHelper<TControl>, ITagHelper, ITagHelperComponent, ITemplateTagHelper where TControl : InputDateBase
Name | Description |
---|---|
TControl |
Name | Description |
---|---|
InputDateBaseTagHelper() |
Name | Description |
---|---|
AlwaysShowCalendar | Configurates AlwaysShowCalendar. Sets a value that determines whether the calendar should remain visible in the dropdown even when there are selected predefined ranges. |
CloseOnSelection | Configurates CloseOnSelection. Sets a value that determines whether the control should automatically close the drop-down when the user makes a selection. |
Format | Configurates Format. Sets the format used to display the selected date. |
HandleWheel | Configurates HandleWheel. Sets a value that determines whether the user can edit the current value using the mouse wheel. |
InputType | Configurates InputType. Sets the "type" attribute of the HTML input element hosted by the control. |
InvalidInput | Configurates the OnClientInvalidInput client event. Occurs when invalid input is detected. |
IsRequired | 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 | Configurates ItemFormatter. Sets a formatter function to customize dates in the drop-down calendar. |
ItemValidator | Configurates ItemValidator. Sets the name of a validator javascript function to determine whether dates are valid for selection. |
Mask | Configurates Mask. Sets a mask to use while editing. |
Max | Configurates Max. Sets the latest date that the user can enter. |
Min | Configurates Min. Sets the earliest date that the user can enter. |
MonthCount | Configurates MonthCount. Sets the number of months to display in the drop-down calendar. |
PredefinedRanges | Configurates PredefinedRanges. Sets a function that return the predefined ranges. |
PreserveCalendarNavigation | Configurates PreserveCalendarNavigation. Sets a value that determines whether to preserve the month when user navigates to a different month than the selected date. |
RangeChanged | 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. |
RangeEnd | Configurates RangeEnd. Sets the last selected date in a range selection. |
RangeEndChanged | Configurates the OnClientRangeEndChanged client event. Occurs when the value of the RangeEnd property changes. |
RangeMax | Configurates RangeMax. Sets the maximum length allowed when editing date ranges. |
RangeMin | Configurates RangeMin. Sets the minimum number of days allowed when editing date ranges. |
RepeatButtons | Configurates RepeatButtons. Sets a value that determines whether the calendar buttons should act as repeat buttons, firing repeatedly as the button remains pressed. |
SelectionMode | Configurates SelectionMode. Sets a value that indicates whether users can select days, months, or no values at all. |
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 | 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 | Configurates Value. Sets the current date. |
ValueChanged | Configurates the OnClientValueChanged client event. Occurs after a new date is selected. |
WeeksAfter | Configurates WeeksAfter. Sets the number of weeks to show on the calendar after the current month. |
WeeksBefore | Configurates WeeksBefore. Sets the number of weeks to show on the calendar before the current month. |
Name | Description |
---|---|
ProcessAttributes(TagHelperContext, object) | Processes the attributes set in the taghelper. |