| Name |
Type |
Default value |
Description |
|---|
| AllowDeselect |
bool |
false |
Whether selecting the already selected date deselects it, clearing the value. The callout stays open after a deselection, so another date can be picked right away. |
| AllowedHours |
Func<int, bool>? |
null |
The hours the time picker can be set to, on top of what MinTime, MaxTime and the bounds of the day already allow. The spin buttons skip over the hours it rejects, a typed one snaps to the nearest it accepts, and a date entered as text whose time lands on one fails validation. |
| AllowedMinutes |
Func<int, bool>? |
null |
The minutes the time picker can be set to, on top of what MinTime, MaxTime and the bounds of the day already allow. The predicate receives a minute of the hour (0-59); the spin buttons skip over the minutes it rejects, a typed one snaps to the nearest it accepts, and a date entered as text whose time lands on one fails validation. |
| AllowedSeconds |
Func<int, bool>? |
null |
The seconds the time picker can be set to, on top of what MinTime, MaxTime and the bounds of the day already allow. It only has an effect while ShowSeconds is set. The predicate receives a second of the minute (0-59); the spin buttons skip over the seconds it rejects, a typed one snaps to the nearest it accepts, and a date entered as text whose time lands on one fails validation. |
| AllowTextInput |
bool |
false |
Whether the date can be typed into the field. The text is read with DateFormat (or the culture's default pattern) and the Culture, and invalid, out-of-range, disabled and disallowed-time text fails validation. A click then opens the callout but leaves the focus in the field; Enter and Space stay with the text. It does nothing on a ReadOnly or Standalone picker. |
| AriaDescription |
string? |
null |
Detailed description of the DatePicker for screen readers alone, rendered visually hidden and referenced by the input's aria-describedby after Description. |
| AutoClose |
bool |
true |
Whether the DatePicker closes automatically after selecting the date. It has no effect while the time picker is shown, where the callout stays open so the time of the selected day can be set as well. |
| AutoFocus |
bool |
false |
Whether the input of the picker gets the focus as soon as it renders for the first time. A standalone picker carries its value in a hidden input nobody is meant to land on, so it has nothing to place the focus on. |
| CalloutAriaLabel |
string |
Calendar |
Aria label of the DatePicker's callout for screen readers. |
| CalloutFooterTemplate |
RenderFragment? |
null |
Custom template to render at the bottom of the DatePicker's callout, below the pickers (e.g. preset buttons that set the value from the code). |
| CalloutHeaderTemplate |
RenderFragment? |
null |
Custom template to render at the top of the DatePicker's callout, above the pickers. |
| CalloutHtmlAttributes |
Dictionary<string, object> |
new Dictionary<string, object>() |
Capture and render additional html attributes for the DatePicker's callout. |
| Classes |
BitDatePickerClassStyles |
null |
Custom CSS classes for different parts of the BitDatePicker. |
| ClearButtonIcon |
BitIconInfo? |
null |
The icon to display inside the clear button. Takes precedence over ClearButtonIconName when both are set. |
| ClearButtonIconName |
string? |
null |
The name of the clear button's icon from the built-in Fluent UI icon set. |
| ClearButtonTitle |
string |
Clear date |
The title (tooltip) and the accessible name of the clear button. |
| CloseButtonIcon |
BitIconInfo? |
null |
The icon to display inside the close button. Takes precedence over CloseButtonIconName when both are set. |
| CloseButtonIconName |
string? |
null |
The name of the close button's icon from the built-in Fluent UI icon set. |
| CloseButtonTitle |
string |
Close date picker |
The title of the close button (tooltip). |
| Color |
BitColor? |
null |
The general color of the DatePicker that applies to the today day button, the highlighted current month, and the selected AM/PM button. An explicit value wins over the --bit-DatePicker-* today and focus color variables; left unset, the DatePicker is primary unless they say otherwise. |
| ContinuousSpinDelay |
int |
400 |
The delay in milliseconds before the hour/minute starts changing continuously while an increase/decrease button of the time picker is held down. |
| ContinuousSpinInterval |
int |
75 |
The interval in milliseconds between two consecutive changes while an increase/decrease button of the time picker is held down. |
| Culture |
CultureInfo? |
null |
The culture of the DatePicker: its month and day names, first day of the week, date and time patterns and calendar (a Persian culture shows the Persian calendar). The value is still a Gregorian DateTimeOffset. A right-to-left culture mirrors the picker. When null, CultureInfo.CurrentUICulture is used. |
| DateFormat |
string? |
null |
The format the date is written with, and the only one a typed date is then read with. Without it the short date pattern of the culture is used (plus the time pattern where the time picker is on), and a typed date is read more freely: the day with the time left off, with the seconds left off or spelled out, and in either clock format, are all accepted. |
| DateFormatAriaDescription |
string |
Expected format: {0} |
The accessible description of the input of a picker that accepts a typed date, which the pattern the date is read with is formatted into. A placeholder is gone as soon as the first character is typed, so the pattern is carried by a description of the input instead. Set it to an empty string to leave the input without one. |
| DayCellTemplate |
RenderFragment<DateTimeOffset>? |
null |
Custom template to render the day cells of the DatePicker. It receives the day (midnight, with the offset of the TimeZone) and replaces only the content of the day's button, which keeps its selection, keyboard and accessible name. |
| Description |
string? |
null |
The helper text rendered below the DatePicker, also tied to its input as its accessible description. |
| DescriptionTemplate |
RenderFragment? |
null |
The custom template for the description, which replaces Description and is tied to the input the same way. |
| DisabledDateErrorMessage |
string? |
null |
The custom validation error message for a typed value that the DatePicker does not allow to be selected, through DisabledDates, DisabledDaysOfWeek or IsDateDisabled. Without it the message is "The {field} field is not an allowed date.", named by DisplayName or the bound field. |
| DisabledDates |
IEnumerable<DateTimeOffset>? |
null |
The list of dates that are disabled (not selectable) in the DatePicker, in addition to MinDate and MaxDate. Only the date part of each value counts, as written - it is not converted into the TimeZone first. |
| DisabledDaysOfWeek |
IEnumerable<DayOfWeek>? |
null |
The days of the week that are disabled (not selectable) in the DatePicker (e.g. weekends). |
| DisableFuture |
bool |
false |
Disables all days after today, exactly as a MaxDate of today would. When both are set, the earlier of the two bounds wins. |
| DisablePast |
bool |
false |
Disables all days before today, exactly as a MinDate of today would. When both are set, the later of the two bounds wins. |
| DisallowedTimeErrorMessage |
string? |
null |
The custom validation error message for a date entered as text whose time of day the DatePicker does not allow, through MinTime, MaxTime, AllowedHours, AllowedMinutes or AllowedSeconds. Without it the message is "The {field} field is not an allowed time." |
| DropDirection |
BitDropDirection |
BitDropDirection.TopAndBottom |
Determines the allowed drop directions of the callout: TopAndBottom opens it below or above the field, whichever has room; All may also open it to either side. A Standalone picker has no callout. |
| ErrorMessage |
string? |
null |
The message shown below the DatePicker for a rejection the app decided on its own (a server response, a cross-field rule). It marks the DatePicker invalid, is referenced by the input's aria-describedby and is announced as it appears. |
| ErrorMessageAriaLabel |
string? |
null |
The text a screen reader is given for a rejection that has no text of its own: an ErrorMessageTemplate, which is free to render anything at all, or the forced Invalid state. It is announced through the live region the moment the rejection shows up - in place of the default "Invalid input" for a template, and only when it is set for the forced state - and the input references it through aria-describedby, so the same reason is read out on every later focus too. A plain ErrorMessage is its own text and never uses it. Give it the reason the template shows, in the language of the page: a template switching to another reason is only announced again when this text switches along with it. Cascaded through BitParams it reaches every DatePicker under it, so set it there only as a generic replacement for "Invalid input". |
| ErrorMessageTemplate |
RenderFragment? |
null |
The custom content of the error message, which replaces ErrorMessage and marks the DatePicker invalid the same way. It replaces the message for a screen reader as well: a template is free to render anything at all, so the live region announces ErrorMessageAriaLabel for it, or a bare "Invalid input" when that is not set. |
| FirstDayOfWeek |
DayOfWeek? |
null |
Overrides the first day of the week of the day picker. If not set, the first day of the week of the Culture is used. |
| FixedWeeks |
bool |
false |
Whether the day picker should always render six weeks, filling the extra rows with the days of the adjacent months, to keep the height of the calendar fixed while navigating between the months. It is always on when MonthCount renders more than one month. |
| GetDayClass |
Func<DateTimeOffset, string?>? |
null |
Custom function to provide additional CSS classes for each day button of the DatePicker. |
| GoToNextMonthTitle |
string |
Go to next month |
The title of the Go to next month button (tooltip). |
| GoToNextYearRangeTitle |
string |
Next year range {0} - {1} |
The title of the Go to next year range button (tooltip). |
| GoToNextYearTitle |
string |
Go to next year {0} |
The title of the Go to next year button (tooltip). |
| GoToPrevMonthTitle |
string |
Go to previous month |
The title of the Go to previous month button (tooltip). |
| GoToPrevYearRangeTitle |
string |
Previous year range {0} - {1} |
The title of the Go to previous year range button (tooltip). |
| GoToPrevYearTitle |
string |
Go to previous year {0} |
The title of the Go to previous year button (tooltip). |
| GoToTodayIcon |
BitIconInfo? |
null |
The icon to display inside the GoToToday button. Takes precedence over GoToTodayIconName when both are set. |
| GoToTodayIconName |
string? |
null |
The name of the GoToToday button's icon from the built-in Fluent UI icon set. |
| GoToTodayTitle |
string |
Go to today |
The title of the GoToToday button (tooltip). |
| HasBorder |
bool |
true |
Determines if the DatePicker has a border. |
| HideTimePickerIcon |
BitIconInfo? |
null |
The icon to display inside the HideTimePicker button. Takes precedence over HideTimePickerIconName when both are set. |
| HideTimePickerIconName |
string? |
null |
The name of the HideTimePicker button's icon from the built-in Fluent UI icon set. |
| HideTimePickerTitle |
string |
Hide time picker |
The title of the HideTimePicker button (tooltip). |
| HighlightCurrentMonth |
bool |
false |
Whether the month picker should highlight the current month. |
| HighlightedDateAriaLabel |
string |
{0}, highlighted |
The accessible name of a day of HighlightedDates, which its full date is formatted into. A highlighted day is marked by a background alone, so the mark is said in the name of the day as well. Set it to an empty string to name a highlighted day like any other. |
| HighlightedDates |
IEnumerable<DateTimeOffset>? |
null |
The list of dates that are highlighted (marked) in the day picker. |
| HighlightSelectedMonth |
bool |
false |
Whether the month picker should highlight the selected month. |
| HighlightToday |
bool |
true |
Whether the day picker should highlight today's day. It only affects the visual style of the day cell; the accessibility attributes still report the day as the current date. |
| HourStep |
int |
1 |
The step, in hours, the spin buttons move the hour by. A step greater than 1 lays a grid over the day that every hour the picker produces sits on, starting at the hour of MinTime and at midnight where there is none - the buttons, the PageUp/PageDown keys and what is typed into the hour alike. Values below 1 are treated as 1. |
| Icon |
BitIconInfo? |
null |
The icon to display in the DatePicker input using custom CSS classes for external icon libraries. Takes precedence over IconName when both are set. |
| IconName |
string? |
null |
The name of the DatePicker's icon from the built-in Fluent UI icon set. For external icon libraries, use Icon instead. |
| IconPlacement |
BitPlacement |
BitPlacement.End |
Determines the side of the input the DatePicker's icon is rendered on. Only Start and End are honoured; any other value leaves the icon on the end side. The side follows the reading direction: Start is the left of an LTR input and the right of an RTL one. |
| IconTemplate |
RenderFragment? |
null |
Custom template for the DatePicker's icon, rendered inside the field in place of the calendar icon (Icon / IconName). A click on it opens the callout like a click on the field. |
| Invalid |
bool |
false |
Marks the DatePicker invalid without an EditContext having said so: the same look and aria-invalid a failing validation gives it. ErrorMessage implies it. It says nothing more to a screen reader unless ErrorMessageAriaLabel gives it a reason to announce. |
| InvalidErrorMessage |
string? |
null |
The custom validation error message for typed text that cannot be read as a date with DateFormat (or the culture's default pattern). Without it the message is "The {field} field is not valid.", named by DisplayName or the bound field. |
| IsDateDisabled |
Func<DateTimeOffset, bool>? |
null |
Custom function to determine if a specific date is disabled (not selectable) in the DatePicker. It receives each day (midnight, with the offset of the TimeZone) and is called for every day the calendar draws or the keyboard moves over, so keep it cheap. |
| IsOpen |
bool |
false |
Whether the callout of the DatePicker is open. Two-way bindable (@bind-IsOpen): the picker writes it back as it opens and closes. Bound one way (without IsOpenChanged) the callout is the app's alone - clicks, Esc, AutoClose, OpenCallout and CloseCalloutAndFocus leave it as set. It has no effect on a Standalone picker. |
| Label |
string? |
null |
The text of the DatePicker's label. |
| LabelTemplate |
RenderFragment? |
null |
Custom template for the DatePicker's label. |
| MaxDate |
DateTimeOffset? |
null |
The maximum date allowed for the DatePicker. The days after it are ruled out as a whole and the day it falls on stays selectable; where a time picker is on screen, the time it carries bounds the hours of that day too. |
| MaxTime |
TimeSpan? |
null |
The latest time of day the time picker can be set to, on every day the DatePicker offers - the time-of-day bound MaxDate is not. Where both bound the same day, the earlier of the two wins. A value outside of a day is clamped into one, and it only has an effect while ShowTimePicker is set. |
| MinDate |
DateTimeOffset? |
null |
The minimum date allowed for the DatePicker. The days before it are ruled out as a whole and the day it falls on stays selectable; where a time picker is on screen, the time it carries bounds the hours of that day too. |
| MinTime |
TimeSpan? |
null |
The earliest time of day the time picker can be set to, on every day the DatePicker offers - the time-of-day bound MinDate is not. Where both bound the same day, the later of the two wins. A value outside of a day is clamped into one, and it only has an effect while ShowTimePicker is set. It is also where the HourStep, MinuteStep and SecondStep grids start. |
| MinuteStep |
int |
1 |
The step, in minutes, the spin buttons move the minute by. A step greater than 1 lays a grid over the hour that every minute the picker produces sits on, starting at the minute of MinTime and at the top of the hour where there is none - which is what turns it into a five-minute or quarter-hour picker. The buttons, the PageUp/PageDown keys and what is typed into the minute are all held to it. Values below 1 are treated as 1. |
| Mode |
BitDatePickerMode |
BitDatePickerMode.DatePicker |
The selection mode: a day (DatePicker), a month (MonthPicker) or a year (YearPicker). A month or a year lands on its first day the Min/Max range and the day rules allow; the time picker is only offered in the DatePicker mode. |
| MonthCellTemplate |
RenderFragment<DateTimeOffset>? |
null |
Custom template to render the month cells of the DatePicker. It receives the first day of the month and replaces only the content of the month's button. |
| MonthCount |
int |
1 |
The number of consecutive months rendered side by side in the day picker (1 to 3). Such a strip always draws six week rows, never draws the days of the adjacent months, and falls back to fewer months on a viewport too narrow to hold them - except on a Standalone picker, which renders what it is asked for. Values outside 1 to 3 are clamped. |
| MonthPickerToggleTitle |
string |
{0}, change month |
The title of the month picker's toggle (tooltip). |
| NextMonthNavIcon |
BitIconInfo? |
null |
The icon to display inside the next-month navigation button. Takes precedence over NextMonthNavIconName when both are set. |
| NextMonthNavIconName |
string? |
null |
The name of the next-month navigation button's icon from the built-in Fluent UI icon set. |
| NextYearNavIcon |
BitIconInfo? |
null |
The icon to display inside the next-year navigation button. Takes precedence over NextYearNavIconName when both are set. |
| NextYearNavIconName |
string? |
null |
The name of the next-year navigation button's icon from the built-in Fluent UI icon set. |
| NextYearRangeNavIcon |
BitIconInfo? |
null |
The icon to display inside the next-year-range navigation button. Takes precedence over NextYearRangeNavIconName when both are set. |
| NextYearRangeNavIconName |
string? |
null |
The name of the next-year-range navigation button's icon from the built-in Fluent UI icon set. |
| NowButtonIcon |
BitIconInfo? |
null |
The icon to display inside the now button. Takes precedence over NowButtonIconName when both are set. |
| NowButtonIconName |
string? |
null |
The name of the now button's icon from the built-in Fluent UI icon set. |
| NowButtonTitle |
string |
Go to now |
The title of the now button (tooltip). The button sets the time of the selected day to the current time - and, on a picker with no value yet, picks today along with it. |
| OnClear |
EventCallback |
|
The callback that is called when the value gets cleared by the clear button. |
| OnClick |
EventCallback |
|
The callback for clicking on the DatePicker's input. It also fires when the keys that open the callout are pressed in the field and when OpenCallout is called, but not on a disabled or Standalone picker, nor when a one-way bound IsOpen keeps the callout closed. |
| OnClose |
EventCallback |
|
Callback for when the callout is closed. |
| OnFocus |
EventCallback |
|
The callback for focusing the DatePicker's input. |
| OnFocusIn |
EventCallback |
|
The callback for when the focus moves into the DatePicker's input. |
| OnFocusOut |
EventCallback |
|
The callback for when the focus moves out of the DatePicker's input. |
| OnMonthChange |
EventCallback<DateTimeOffset> |
|
The callback for when the displayed month of the day picker changes. The argument is the first day of the newly displayed month - of the first of them where MonthCount renders a strip. It fires for the navigation buttons, the month and year pickers, go-to-today, the keyboard and a picked day of another month. |
| OnOpen |
EventCallback |
|
Callback for when the callout is opened. |
| OnSelectDate |
EventCallback<DateTimeOffset?> |
|
The callback for when the user selects a date. |
| OutOfRangeErrorMessage |
string? |
null |
The custom validation error message for a typed value that falls outside of the MinDate and MaxDate range (DisablePast and DisableFuture included). Without it the message is "The {field} field is out of the allowed range." |
| PagedNavigation |
bool |
false |
Whether the previous and next navigation buttons move the day picker by all of its rendered months instead of one. It has no effect when MonthCount renders a single month. |
| Placeholder |
string |
string.Empty |
The placeholder text of the DatePicker's input. |
| PrevMonthNavIcon |
BitIconInfo? |
null |
The icon to display inside the previous-month navigation button. Takes precedence over PrevMonthNavIconName when both are set. |
| PrevMonthNavIconName |
string? |
null |
The name of the previous-month navigation button's icon from the built-in Fluent UI icon set. |
| PrevYearNavIcon |
BitIconInfo? |
null |
The icon to display inside the previous-year navigation button. Takes precedence over PrevYearNavIconName when both are set. |
| PrevYearNavIconName |
string? |
null |
The name of the previous-year navigation button's icon from the built-in Fluent UI icon set. |
| PrevYearRangeNavIcon |
BitIconInfo? |
null |
The icon to display inside the previous-year-range navigation button. Takes precedence over PrevYearRangeNavIconName when both are set. |
| PrevYearRangeNavIconName |
string? |
null |
The name of the previous-year-range navigation button's icon from the built-in Fluent UI icon set. |
| Responsive |
bool |
false |
Enables the responsive mode in small screens: below 600px of viewport width the callout becomes a full-width panel that slides in from the top and is dismissed by swiping it up. It has no effect on a Standalone picker. |
| SecondStep |
int |
1 |
The step, in seconds, the spin buttons move the second by. The grid it lays over the minute starts at the second of MinTime, and at the top of the minute where there is none. Values below 1 are treated as 1, and it only has an effect while ShowSeconds is set. |
| SelectedDateAriaAtomic |
string |
Selected date {0} |
The text of the visually hidden live region of the calendar that announces the selection to a screen reader as it changes; {0} is the value as the field writes it. |
| ShowClearButton |
bool |
false |
Whether the clear button should be shown or not when the BitDatePicker has a value. |
| ShowCloseButton |
bool |
false |
Whether the DatePicker's close button should be shown or not. |
| ShowGoToToday |
bool |
true |
Whether the GoToToday button should be shown or not. The button moves the calendar to the month of today (or of Today) without selecting anything. |
| ShowMonthPicker |
bool |
true |
Whether the month picker is shown next to the day picker or hidden. It has no effect in the MonthPicker and YearPicker modes, where the month or the year picker is the only view. |
| ShowMonthPickerAsOverlay |
bool |
false |
Show month picker on top of date picker when visible: it is hidden until the month title of the day picker is clicked, and closes once a month is picked. The callout falls back to it on its own when the viewport is too narrow for the pane beside the day picker. It has no effect while ShowMonthPicker is false. |
| ShowNowButton |
bool |
true |
Whether the now button should be shown or not. |
| ShowOutsideDays |
bool |
true |
Whether the days of the previous and next months should be shown in the day picker. It has no effect when MonthCount renders more than one month, since those days would then appear in two panes at once. |
| ShowSeconds |
bool |
false |
Whether the time picker shows a seconds field beside the hour and the minute, which adds the second to the value and to the default date format. It has no effect without ShowTimePicker; without it the value carries no seconds. |
| ShowTimePicker |
bool |
false |
Whether the time picker (hour and minute, with ShowSeconds the second) is rendered beside the day picker. The time edits the time of the selected day and is added to the default date format; picking a day keeps the callout open whatever AutoClose says. It is only offered in the DatePicker Mode. |
| ShowTimePickerAsOverlay |
bool |
false |
Show the time picker as an overlay on top of the date picker when visible, opened with the ShowTimePicker button and closed with the HideTimePicker one. The callout falls back to it on its own when the viewport is too narrow for the time picker beside the day picker. |
| ShowTimePickerIcon |
BitIconInfo? |
null |
The icon to display inside the ShowTimePicker button. Takes precedence over ShowTimePickerIconName when both are set. |
| ShowTimePickerIconName |
string? |
null |
The name of the ShowTimePicker button's icon from the built-in Fluent UI icon set. |
| ShowTimePickerTitle |
string |
Show time picker |
The title of the ShowTimePicker button (tooltip). |
| ShowValidationMessage |
bool |
false |
Shows the messages the cascading EditContext holds for the bound field (the InvalidErrorMessage or OutOfRangeErrorMessage of a typed text among them) under the DatePicker, where ErrorMessage goes, so an EditForm needs no ValidationMessage component beside it. The input references them through aria-describedby, so they are read out when it takes the focus; they are not announced as they appear, since a submit validates every field at once. An ErrorMessage or ErrorMessageTemplate of the app's own wins the place while it is set. |
| ShowWeekNumbers |
bool |
false |
Whether the week number (weeks 1 to 53) should be shown before each week row. |
| Size |
BitSize? |
null |
The size of the DatePicker. An explicit value wins over the --bit-DatePicker-* size variables (label, input, icon, day, header and time sizes); left unset, the DatePicker is medium unless they say otherwise. |
| Standalone |
bool |
false |
Whether the date-picker is rendered standalone or with the input component and callout. Standalone, the calendar is rendered inline and the value is carried for the form by a hidden input; IsOpen, AutoClose, AutoFocus, Responsive, DropDirection, ShowCloseButton and AllowTextInput then have no effect. |
| StartingValue |
DateTimeOffset? |
null |
Specifies the date and time of the date-picker when it is opened without any selected value: the month the calendar shows and the time the time picker starts from. It does not set the value, and it is brought inside the MinDate/MaxDate range. Without it the picker opens on today (or Today) at midnight, or at the earliest time MinTime allows. |
| Styles |
BitDatePickerClassStyles |
null |
Custom CSS styles for different parts of the BitDatePicker. |
| TimeFormat |
BitTimeFormat |
BitTimeFormat.TwentyFourHours |
The time format of the time-picker, 24H or 12H. |
| TimePickerDecreaseHourIcon |
BitIconInfo? |
null |
The icon to display inside the time-picker's decrease-hour button. Takes precedence over TimePickerDecreaseHourIconName when both are set. |
| TimePickerDecreaseHourIconName |
string? |
null |
The name of the time-picker's decrease-hour button icon from the built-in Fluent UI icon set. |
| TimePickerDecreaseHourTitle |
string |
Decrease hour |
The title (tooltip) and the accessible name of the time-picker's decrease-hour button. |
| TimePickerDecreaseMinuteIcon |
BitIconInfo? |
null |
The icon to display inside the time-picker's decrease-minute button. Takes precedence over TimePickerDecreaseMinuteIconName when both are set. |
| TimePickerDecreaseMinuteIconName |
string? |
null |
The name of the time-picker's decrease-minute button icon from the built-in Fluent UI icon set. |
| TimePickerDecreaseMinuteTitle |
string |
Decrease minute |
The title (tooltip) and the accessible name of the time-picker's decrease-minute button. |
| TimePickerDecreaseSecondIcon |
BitIconInfo? |
null |
The icon to display inside the time-picker's decrease-second button. Takes precedence over TimePickerDecreaseSecondIconName when both are set. |
| TimePickerDecreaseSecondIconName |
string? |
null |
The name of the time-picker's decrease-second button icon from the built-in Fluent UI icon set. |
| TimePickerDecreaseSecondTitle |
string |
Decrease second |
The title (tooltip) and the accessible name of the time-picker's decrease-second button. |
| TimePickerHourTitle |
string |
Hour |
The title (tooltip) and the accessible name of the time-picker's hour input. |
| TimePickerIncreaseHourIcon |
BitIconInfo? |
null |
The icon to display inside the time-picker's increase-hour button. Takes precedence over TimePickerIncreaseHourIconName when both are set. |
| TimePickerIncreaseHourIconName |
string? |
null |
The name of the time-picker's increase-hour button icon from the built-in Fluent UI icon set. |
| TimePickerIncreaseHourTitle |
string |
Increase hour |
The title (tooltip) and the accessible name of the time-picker's increase-hour button. |
| TimePickerIncreaseMinuteIcon |
BitIconInfo? |
null |
The icon to display inside the time-picker's increase-minute button. Takes precedence over TimePickerIncreaseMinuteIconName when both are set. |
| TimePickerIncreaseMinuteIconName |
string? |
null |
The name of the time-picker's increase-minute button icon from the built-in Fluent UI icon set. |
| TimePickerIncreaseMinuteTitle |
string |
Increase minute |
The title (tooltip) and the accessible name of the time-picker's increase-minute button. |
| TimePickerIncreaseSecondIcon |
BitIconInfo? |
null |
The icon to display inside the time-picker's increase-second button. Takes precedence over TimePickerIncreaseSecondIconName when both are set. |
| TimePickerIncreaseSecondIconName |
string? |
null |
The name of the time-picker's increase-second button icon from the built-in Fluent UI icon set. |
| TimePickerIncreaseSecondTitle |
string |
Increase second |
The title (tooltip) and the accessible name of the time-picker's increase-second button. |
| TimePickerMinuteTitle |
string |
Minute |
The title (tooltip) and the accessible name of the time-picker's minute input. |
| TimePickerSecondTitle |
string |
Second |
The title (tooltip) and the accessible name of the time-picker's second input. |
| TimeZone |
TimeZoneInfo? |
null |
The time zone the value is shown and picked in: a bound value is converted into it for display, and a picked or typed date is stored with its UTC offset for that date. When null, TimeZoneInfo.Local is used (the browser's zone in WebAssembly, the server's in a server-rendered app). |
| Today |
DateTimeOffset? |
null |
Overrides the current date and time considered as "today" and "now" in the DatePicker (useful for testing or custom time providers). |
| Underlined |
bool |
false |
Whether or not the Text field of the DatePicker is underlined. |
| WeekNumberRule |
CalendarWeekRule? |
null |
The rule used to calculate the week numbers. Defaults to the FirstFullWeek rule. The weeks are counted from FirstDayOfWeek (or the Culture's); ISO 8601 week numbers are FirstFourDayWeek with a Monday start. |
| WeekNumbersHeaderTitle |
string |
Week |
The accessible name of the column header above the week numbers, which shows a number sign (#). |
| WeekNumberTitle |
string |
Week number {0} |
The title of the week number (tooltip). |
| YearCellTemplate |
RenderFragment<int>? |
null |
Custom template to render the year cells of the DatePicker. It receives the year, counted in the calendar of the Culture, and replaces only the content of the year's button. |
| YearPickerToggleTitle |
string |
{0}, change year |
The title of the year picker's toggle (tooltip). |
| YearRangePickerToggleTitle |
string |
{0} - {1}, change month |
The title of the year range picker's toggle (tooltip). |