Calendar
Since 0.1.0-alpha.20IzzyBlazor.Calendar<TValue> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.20 assembly
and its doc comments.
Properties (13)
ReadOnlybool = falseMakes the field read-only: it can be focused, and it still posts.
TypeDateFieldType? (computed)A date, a month or a year. Defaults to a date. A month is the 1st of it in a DateOnly, and a year is an int.
MinTValue (computed)The earliest value. Defaults to [Range]'s minimum; the type's default value means none.
MaxTValue (computed)The latest value. Defaults to [Range]'s maximum; the type's default value means none.
FirstDayOfWeekDayOfWeek? (computed)The first column. Defaults to the culture's first day of the week.
CultureCultureInfo? (computed)The culture for the month and day names, the first day and the week numbers. Defaults to the current culture.
ShowWeekNumbersbool = falseAdds a first column with the week of the year, counted as the culture counts them.
ShowAdjacentDaysbool = trueWhether to show the days of the months before and after, muted, in the first and last weeks. Defaults to true.
DateDisabledFunc<DateOnly, bool>?Whether a day can't be chosen. Checked on the server too, so it stops OnValidSubmit whatever was posted. It's called for every day in the window on every render, so keep it cheap.
DateDisabledWindowTimeSpan?How far each way from the value or today to call DateDisabled and DayClass, in whole days, for an end the limits don't set. About a year unless set. With DateDisabled, the month stops at the window's edge.
DayClassFunc<DateOnly, string?>?A class for a day's button, or null. Called like DateDisabled, so keep it cheap.
@bind-ValueTValueThe value, bound with @bind-Value.
DisplayNamestring?The field's name in validation messages from the input itself, such as a value that can't be parsed.
Events (0)
No events.
Types (1)
DateFieldType
enumWhat a DateField<T> takes. Sets the input type.
| Value | Description |
|---|---|
Date | A date. |
DateTime | A date and a time of day. |
Month | A month, held as the 1st of it in a |
Year | A year, held in an |