Pickers
CircularTimePicker
A BitCircularTimePicker picks a single time from an analog clock dial: an hour ring the pointer snaps to, then a minute ring and an optional second ring, with an AM/PM pair in 12-hour mode. It can be driven with a pointer or entirely from the keyboard, restricted to a range or a step, edited as text, laid out portrait or landscape, and rendered either inline or in a callout that becomes a sheet on small screens.
Usage
Every example is live. Open its code to see exactly what produced the component running underneath.
Basic
Standalone
Time format
Seconds
Edit mode & views
Steps
Selectable range
Picker actions
Open state
Text input & value format
Binding
Culture
ReadOnly
Appearance
Templates
Layout
Keyboard & accessibility
- Enter, Space or ↓ on the field opens the picker; Esc closes it from anywhere inside it and puts the focus back on the field, while Tab closes it and carries on to the next control.
- Tab inside the callout moves between the toolbar, the dial and the buttons, and leaving the last of them closes the picker rather than stranding it behind the overlay.
- ↑ / → and ↓ / ← move the pointer by one step, PageUp / PageDown by five.
- Home and End jump to the first and the last selectable value.
- Digits type the value: 4 5 within a second lands on 45. On a 12-hour dial A and P switch the half of the day.
- Enter or Space settles the current view - moving on to the next part, and closing an AutoClose picker once the time is complete.
- Shift + the mouse wheel over the focused dial moves it by one step as well. Both conditions keep an ordinary scroll of the page from changing the time; NoMouseWheel turns it off altogether and InvertMouseWheel reverses it.
Validation
Events
Cascading parameters
Color
External Icons
Size
Style & Class
RTL
CSS variables
The public custom properties this component reads off its root, for what no parameter covers.
Every variable is read with a fallback and never declared by the component, so it inherits like any other custom property:
set one on :root (or in a [bit-theme] block) to restyle every instance, on any ancestor to restyle the ones inside it,
or on the Style of one instance to restyle that one alone. Leave a variable unset and the component falls back to the theme token beside it.
BitCircularTimePicker CSS variables
| Name | Default value | Description |
|---|---|---|
| --bit-CircularTimePicker-color | The Color role's main color | The accent of the picker: the toolbar, the hand, the pin, the selected number and the action buttons. Every part that follows it can also be re-pointed on its own. |
| --bit-CircularTimePicker-text-color | The Color role's on color | The foreground drawn on top of the accent - the read-out in the toolbar, the selected number and the selected meridiem. |
| --bit-CircularTimePicker-focus-color | The Color role's focus color | The focus ring of the field, the dial, the action buttons and the close button. |
| --bit-CircularTimePicker-label-color | --bit-clr-fg-pri | The label above the field. |
| --bit-CircularTimePicker-label-font-size | per Size | The text size of that label. Small, medium and large map to --bit-tpg-fs-xs, --bit-tpg-fs-sm and --bit-tpg-fs-md. |
| --bit-CircularTimePicker-input-background | --bit-clr-bg-pri | The background of the field. |
| --bit-CircularTimePicker-input-color | --bit-clr-fg-pri | The text in the field. |
| --bit-CircularTimePicker-input-font-size | per Size | The size of that text. Small, medium and large map to --bit-tpg-fs-xs, --bit-tpg-fs-sm and --bit-tpg-fs-md. |
| --bit-CircularTimePicker-input-height | per Size | The height of the field, which is what lines it up with the other controls of a form. Small, medium and large map to --bit-siz-ctrl-sm, --bit-siz-ctrl-md and --bit-siz-ctrl-lg. |
| --bit-CircularTimePicker-input-padding | spacing(1) on the inline sides | The padding of the field, around the text and the icon together. |
| --bit-CircularTimePicker-border-color | --bit-clr-brd-pri | The border of the field, the underline of the Underlined variant and the frame of the meridiem pair under the clock. |
| --bit-CircularTimePicker-border-width | --bit-shp-brd-width | The thickness of all three. |
| --bit-CircularTimePicker-border-radius | --bit-shp-radius-control | The corner radius of the field, the action buttons, the close button and the meridiem pair. |
| --bit-CircularTimePicker-icon-color | --bit-clr-fg-sec | The clock glyph in the field. It takes the accent instead while the field holds focus. |
| --bit-CircularTimePicker-callout-background | --bit-clr-bg-pri | The surface the clock sits on. |
| --bit-CircularTimePicker-callout-radius | --bit-shp-radius-popup | The corner radius of that surface. |
| --bit-CircularTimePicker-callout-shadow | --bit-shd-popup | The shadow under the callout. The responsive sheet keeps its own. |
| --bit-CircularTimePicker-toolbar-background | --bit-CircularTimePicker-color | The bar carrying the read-out. Set it on its own for a toolbar that does not follow the accent of the dial. |
| --bit-CircularTimePicker-toolbar-color | --bit-CircularTimePicker-text-color | The foreground of that bar, which the parts of the time and the meridiem pair inside it inherit. |
| --bit-CircularTimePicker-toolbar-padding | spacing(2) on the block sides | The padding of that bar. |
| --bit-CircularTimePicker-time-font-size | Per Size | The size of the read-out in the toolbar. |
| --bit-CircularTimePicker-inactive-color | The toolbar foreground, undimmed | The parts of the time the dial is not on, and the half of the meridiem that is not selected. They are told apart by the rule under the active one rather than by being dimmed, since the toolbar foreground barely clears the contrast floor over the accent to begin with - set this only on a theme whose accent has the headroom for a dim. |
| --bit-CircularTimePicker-clock-size | Per Size | The diameter of the dial. Both rings, the length of the hand and the hit test are derived from it, so overriding it re-lays the whole clock out. |
| --bit-CircularTimePicker-clock-background | --bit-clr-bg-sec | The face of the dial. |
| --bit-CircularTimePicker-clock-margin | spacing(2) | The room between the dial and everything around it. |
| --bit-CircularTimePicker-number-size | Per Size | The diameter of one number on the dial, which is also its pointer target and the size of its selected disc. The two rings of the 24-hour dial are laid out from what it leaves of the clock, and the pointer tells them apart at a fixed fraction of the radius - so a much larger number wants a larger --bit-CircularTimePicker-clock-size with it. |
| --bit-CircularTimePicker-number-font-size | Per Size | The text size of those numbers. |
| --bit-CircularTimePicker-number-color | --bit-clr-fg-pri | The numbers of the outer ring, the meridiem pair under the clock and the close button. |
| --bit-CircularTimePicker-inner-number-color | --bit-clr-fg-sec | The numbers of the inner ring, which only the 24-hour dial has. |
| --bit-CircularTimePicker-number-hover-background | --bit-clr-bg-pri-hover | The number under the pointer. Only a number that can still be picked lights up. |
| --bit-CircularTimePicker-selected-number-color | --bit-CircularTimePicker-text-color | The number the hand rests on. |
| --bit-CircularTimePicker-selected-number-background | --bit-CircularTimePicker-color | The disc behind it. |
| --bit-CircularTimePicker-disabled-number-color | --bit-clr-fg-dis | A number the bounds, the steps or the allowed-value predicates rule out. |
| --bit-CircularTimePicker-pointer-color | --bit-CircularTimePicker-color | The hand, the pin at the center and the ring of the thumb, which are one object drawn in three pieces. |
| --bit-CircularTimePicker-pointer-width | spacing(0.25) | The thickness of the hand. |
| --bit-CircularTimePicker-pin-size | spacing(0.75) | The diameter of the pin at the center of the dial. |
| --bit-CircularTimePicker-thumb-size | Per Size | The disc at the end of the hand where it rests on a number. |
| --bit-CircularTimePicker-minor-thumb-size | Per Size | The ring the thumb shrinks to between two marks, or on a part of the time that has not been set yet. |
| --bit-CircularTimePicker-ampm-font-size | Per Size | The meridiem pair beside the time in the toolbar. |
| --bit-CircularTimePicker-clock-ampm-font-size | Per Size | The meridiem pair under the clock, which AmPmInClock moves it to. |
| --bit-CircularTimePicker-selected-ampm-color | --bit-CircularTimePicker-text-color | The foreground of the selected half of that pair. |
| --bit-CircularTimePicker-selected-ampm-background | --bit-CircularTimePicker-color | Its background and border. |
| --bit-CircularTimePicker-action-color | --bit-CircularTimePicker-color | The "now" and "clear" buttons under the clock. |
| --bit-CircularTimePicker-action-font-size | --bit-tpg-fs-sm | The text size of those buttons. |
| --bit-CircularTimePicker-close-button-color | --bit-CircularTimePicker-toolbar-color | The close button. It is laid over the corner of the toolbar, so it is painted for the accent there; under a CalloutHeaderTemplate it takes that corner instead and falls back to --bit-clr-fg-pri. |
| --bit-CircularTimePicker-disabled-color | --bit-clr-fg-dis | The foreground of every disabled part - the label, the field, the toolbar, the numbers and the actions. |
| --bit-CircularTimePicker-disabled-background | --bit-clr-bg-dis | The background of the disabled field and toolbar, and of the hand and the selected number with it. |
| --bit-CircularTimePicker-disabled-border-color | --bit-clr-brd-dis | The border of the disabled field and of the meridiem pair. |
| --bit-CircularTimePicker-invalid-color | --bit-clr-err | The border and the icon of a field whose value failed validation. |
API
Every parameter, public member, sub-class and enum this component exposes.
BitCircularTimePicker parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| AllowedHours | Func<int, bool>? | null | The hours that can be selected, on top of what MinTime, MaxTime and HourStep already allow. The predicate receives an hour of the day (0-23) whichever TimeFormat the clock is in. |
| AllowedMinutes | Func<int, bool>? | null | The minutes that can be selected, on top of what MinTime, MaxTime and MinuteStep already allow. The predicate receives a minute of the hour (0-59). |
| AllowedSeconds | Func<int, bool>? | null | The seconds that can be selected, on top of what MinTime, MaxTime and SecondStep already allow. The predicate receives a second of the minute (0-59). |
| AllowTextInput | bool | false | Whether the TimePicker allows input a time string directly or not. The text is parsed with the exact ValueFormat of the picker. |
| AmPmInClock | bool | false | Renders the AM/PM pair under the clock instead of beside the time in the toolbar. Only the 12-hour format has a meridiem to place. |
| AutoClose | bool | false | Closes the callout as soon as the selection is complete - the last part the dial offers is picked, or the "now" button is used - without waiting for the close button or a click outside of it. |
| AutoCloseDelay | int | 0 | How long, in milliseconds, an AutoClose picker waits before it closes, so the pick that completed the selection can be seen being made. A further pick inside the wait supersedes it and starts it over. |
| AutoFocus | bool | false | If true, the input of the TimePicker automatically receives focus when the page renders. |
| CalloutAriaLabel | string | Clock | Aria label for time picker popup for screen reader users. |
| CalloutFooterTemplate | RenderFragment? | null | Custom template to render at the bottom of the callout, below everything it holds. |
| CalloutHeaderTemplate | RenderFragment? | null | Custom template to render at the top of the callout, above everything it holds. |
| CalloutHtmlAttributes | Dictionary<string, object> | new Dictionary<string, object>() | Capture and render additional attributes in addition to the main callout's parameters. |
| Classes | BitCircularTimePickerClassStyles | null | Custom CSS classes for different parts of the TimePicker. |
| ClearButtonText | string | Clear | The text of the button that clears the value of the TimePicker. |
| CloseButtonIcon | BitIconInfo? | null | The icon for the close button using external icon libraries. Takes precedence over CloseButtonIconName when both are set. |
| CloseButtonIconName | string? | Cancel | The name of the icon for the close button from the built-in Fluent UI icons. For external icon libraries, use CloseButtonIcon instead. |
| CloseButtonTitle | string | Close time picker | The title of the close button (tooltip). |
| Color | BitColor? | null | The general color of the TimePicker, applied to the toolbar, the dial pointer and the selected numbers. |
| Culture | CultureInfo? | CultureInfo.CurrentUICulture | CultureInfo for the TimePicker. |
| DisallowedTimeErrorMessage | string? | null | The custom validation error message for a time entered as text that AllowedHours, AllowedMinutes or AllowedSeconds rejects. The steps are the one constraint typed text is not held to. |
| DisableFuture | bool | false | Disables every time of day after the current time, exactly as a MaxTime of now would. Where both are set the earlier of the two wins. The current time is taken to the precision the dial shows. |
| DisablePast | bool | false | Disables every time of day before the current time, exactly as a MinTime of now would. Where both are set the later of the two wins. The current time is taken to the precision the dial shows. |
| DropDirection | BitDropDirection | BitDropDirection.TopAndBottom | Determines the allowed drop directions of the callout. |
| EditMode | BitCircularTimePickerEditMode | BitCircularTimePickerEditMode.Normal | Choose the edition mode. By default, you can edit every part the picker shows. A mode pinned to one part leaves the rest as it is, the AM/PM pair included - it is shown but only offered where the hour is a part the picker edits. |
| HasBorder | bool | true | Determines if the TimePicker has a border. |
| HourButtonTitle | string | Select hour | The title (and accessible name) of the button that switches the dial to the hours. |
| HourStep | int | 1 | The step, in hours, the dial and the keyboard move the hour by. A step greater than 1 lays a grid over the day that the pick snaps to, dimming the hours in between, starting at the hour of MinTime and at midnight where there is none. |
| Icon | BitIconInfo? | null | The icon to display using custom CSS classes for external icon libraries (e.g., FontAwesome, Bootstrap Icons). Takes precedence over IconName when both are set. |
| IconPlacement | BitPlacement | BitPlacement.End | Determines the side of the input the TimePicker'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. |
| IconName | string? | Clock | The name of the icon from the built-in Fluent UI icons. For external icon libraries, use Icon instead. |
| IconTemplate | RenderFragment? | null | Custom TimePicker icon template. |
| InvalidErrorMessage | string? | null | The custom validation error message for the invalid value. |
| InvertMouseWheel | bool | false | Reverses the direction the mouse wheel moves the dial in. |
| IsOpen | bool | false | Whether or not this TimePicker is open. Supports two-way binding. |
| Label | string? | null | Label for the TimePicker. |
| LabelTemplate | RenderFragment? | null | Used to customize the label for the TimePicker. |
| Landscape | bool | false | Lays the clock out beside its toolbar instead of under it, from the small breakpoint up. |
| MaxTime | TimeSpan? | null | The latest time that can be selected. Later hours, and the minutes past it inside its own hour, are dimmed on the dial and refused by the pointer, the keyboard and the text input. With MinTime it forms a range inside one day that does not wrap past midnight - use AllowedHours for a window that does. |
| MinTime | TimeSpan? | null | The earliest time that can be selected. Earlier hours, and the minutes before it inside its own hour, are dimmed on the dial and refused by the pointer, the keyboard and the text input. It is also where the grids of HourStep, MinuteStep and SecondStep start. |
| MinuteButtonTitle | string | Select minute | The title (and accessible name) of the button that switches the dial to the minutes. |
| MinuteStep | int | 1 | The step, in minutes, the dial and the keyboard move the minute by. A step greater than 1 lays a grid over the hour that the pick snaps to, starting at the minute of MinTime and at the top of the hour where there is none. |
| NoMouseWheel | bool | false | Disables moving the dial with the mouse wheel entirely. By default the wheel moves it by one step while scrolled over the focused dial with the Shift key held down. |
| NowButtonText | string | Now | The text of the button that sets the TimePicker to the current time. |
| OnClear | EventCallback | Callback for when the value is cleared using the clear button. | |
| OnClick | EventCallback | Callback for when clicking on TimePicker input. | |
| OnClose | EventCallback | Callback for when the callout of the TimePicker closes. | |
| OnFocus | EventCallback | Callback for when the TimePicker input receives focus. Unlike OnFocusIn it does not bubble, so it is the one to use when only the input itself receiving focus is of interest. | |
| OnFocusIn | EventCallback | Callback for when focus moves into the TimePicker input or any of its descendants, since unlike OnFocus it bubbles. | |
| OnFocusOut | EventCallback | Callback for when focus moves out of the TimePicker input. | |
| OnOpen | EventCallback | Callback for when the callout of the TimePicker opens. | |
| OnSelectTime | EventCallback<TimeSpan?> | Callback for when the selected time changes. | |
| OnViewChange | EventCallback<BitCircularTimePickerView> | Callback for when the dial switches between the hours, the minutes and the seconds. | |
| OutOfRangeErrorMessage | string? | null | The custom validation error message for a time entered as text that falls outside of MinTime and MaxTime. Text that does not read as a time at all reports InvalidErrorMessage instead. |
| Placeholder | string? | null | Placeholder text for the TimePicker. |
| Responsive | bool | false | Enables the responsive mode in small screens. |
| SecondButtonTitle | string | Select second | The title (and accessible name) of the button that switches the dial to the seconds. |
| SecondStep | int | 1 | The step, in seconds, the dial and the keyboard move the second by. A step greater than 1 lays a grid over the minute that the pick snaps to, starting at the second of MinTime and at the top of the minute where there is none. |
| ShowClearButton | bool | false | Renders a button that clears the value of the TimePicker under the clock. |
| ShowCloseButton | bool | false | Whether the TimePicker's close button should be shown or not. |
| ShowNowButton | bool | false | Renders a button that sets the TimePicker to the current time under the clock, snapped to the steps and clamped into the selectable range. |
| ShowSeconds | bool | false | Adds the seconds to the picker: a third ring the dial moves on to after the minute, a third part in the toolbar, and the seconds of the value kept instead of zeroed. |
| Size | BitSize? | null | The size of the TimePicker. |
| Standalone | bool | false | Whether the TimePicker is rendered standalone or with the input component and callout. |
| StartingValue | TimeSpan? | null | The time an empty TimePicker starts from, instead of midnight. It is not a value: an untouched picker stays empty and the dial shows nothing selected - it is only where the first change lands. |
| StartView | BitCircularTimePickerView | BitCircularTimePickerView.Hour | The part of the time the clock starts on when the picker opens. The EditMode wins over it, and so does a Second start view on a picker that does not show the seconds. |
| Styles | BitCircularTimePickerClassStyles | null | Custom CSS styles for different parts of the TimePicker. |
| TimeFormat | BitTimeFormat | BitTimeFormat.TwentyFourHours | The time format of the time-picker, 24H or 12H. |
| Underlined | bool | false | Whether or not the Text field of the TimePicker is underlined. |
| ValueFormat | string? | null | The format of the time in the TimePicker like "HH:mm". Left unset it follows the time pattern of the culture, rewritten into the TimeFormat, extended with the seconds where ShowSeconds is set and padded with the leading zeros. |
BitCircularTimePicker public members
| Name | Type | Default value | Description |
|---|---|---|---|
| InputId | string? | The id of the input element of the TimePicker. | |
| View | BitCircularTimePickerView | The part of the time the clock is currently editing. | |
| OpenCallout | Task OpenCallout() | Opens the callout of the TimePicker, doing nothing when it is already open or when the picker is standalone and has no callout to open. | |
| DismissCallout | Task DismissCallout() | Closes the callout of the TimePicker. | |
| SwitchView | Task SwitchView(BitCircularTimePickerView view) | Switches the dial to the hours, the minutes or the seconds, as far as the EditMode and ShowSeconds allow it. |
BitInputBase parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| DefaultValue | TValue? | null | The default value of the input to be used in uncontrolled mode (i.e. when the Value is not bound), typically used alongside the OnChange callback. |
| DisplayName | string? | null | Gets or sets the display name for this field. |
| InputHtmlAttributes | IReadOnlyDictionary<string, object>? | null | Gets or sets a collection of additional attributes that will be applied to the created element. |
| Name | string? | null | Gets or sets the name of the element. Allows access by name from the associated form. |
| NoValidate | bool | false | Disables the validation of the input. |
| OnChange | EventCallback<TValue?> | Callback for when the input value changes. | |
| ReadOnly | bool | false | Makes the input read-only. |
| Required | bool | false | Makes the input required. |
| Value | TValue? | null | Gets or sets the value of the input. This should be used with two-way binding. |
BitInputBase public members
| Name | Type | Default value | Description |
|---|---|---|---|
| InputElement | ElementReference | The ElementReference of the input element. | |
| FocusAsync() | () => ValueTask | Gives focus to the input element. | |
| FocusAsync(bool preventScroll) | (bool preventScroll) => ValueTask | Gives focus to the input element. |
BitComponentBase parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| AriaLabel | string? | null | Gets or sets the accessible label for the component, used by assistive technologies. |
| Class | string? | null | Gets or sets the CSS class name(s) to apply to the rendered element. |
| Dir | BitDir? | null | Gets or sets the text directionality for the component's content. |
| Disabled | bool | false | Gets or sets a value indicating whether the component is disabled and cannot respond to user interaction. |
| ForceAnimation | bool | false | Gets or sets a value indicating whether the component's animations play at their full duration even when reduced motion is requested. |
| HtmlAttributes | Dictionary<string, object> | new Dictionary<string, object>() | Captures additional HTML attributes to be applied to the rendered element, in addition to the component's parameters. |
| Id | string? | null | Gets or sets the unique identifier for the component's root element. |
| Style | string? | null | Gets or sets the CSS style string to apply to the rendered element. |
| TabIndex | string? | null | Gets or sets the tab order index for the component when navigating with the keyboard. |
| Visibility | BitVisibility | BitVisibility.Visible | Gets or sets the visibility state (visible, hidden, or collapsed) of the component. |
BitComponentBase public members
| Name | Type | Default value | Description |
|---|---|---|---|
| UniqueId | Guid | Guid.NewGuid() | Gets the readonly unique identifier for the component's root element, assigned when the component instance is constructed. |
| RootElement | ElementReference | Gets the reference to the root HTML element associated with this component. |
BitCircularTimePickerClassStyles properties
| Name | Type | Default value | Description |
|---|---|---|---|
| Root | string? | null | Custom CSS classes/styles for the root element of the BitCircularTimePicker. |
| Focused | string? | null | Custom CSS classes/styles for the focused state of the BitCircularTimePicker. |
| Label | string? | null | Custom CSS classes/styles for the Label of the BitCircularTimePicker. |
| InputWrapper | string? | null | Custom CSS classes/styles for the input wrapper of the BitCircularTimePicker. |
| InputContainer | string? | null | Custom CSS classes/styles for the input container of the BitCircularTimePicker. |
| Input | string? | null | Custom CSS classes/styles for the input of the BitCircularTimePicker. |
| Icon | string? | null | Custom CSS classes/styles for the icon of the BitCircularTimePicker. |
| Overlay | string? | null | Custom CSS classes/styles for the overlay of the BitCircularTimePicker. |
| Callout | string? | null | Custom CSS classes/styles for the callout of the BitCircularTimePicker. |
| CalloutContainer | string? | null | Custom CSS classes/styles for the callout container of the BitCircularTimePicker. |
| CalloutHeader | string? | null | Custom CSS classes/styles for the callout header, the container of the CalloutHeaderTemplate. |
| CalloutFooter | string? | null | Custom CSS classes/styles for the callout footer, the container of the CalloutFooterTemplate. |
| Toolbar | string? | null | Custom CSS classes/styles for the toolbar of the BitCircularTimePicker. |
| Body | string? | null | Custom CSS classes/styles for the body of the BitCircularTimePicker - everything under the toolbar: the clock, the AM/PM pair when it is placed there, and the row of actions. |
| HourMinuteContainer | string? | null | Custom CSS classes/styles for the hour and minute container of the BitCircularTimePicker. |
| HourButton | string? | null | Custom CSS classes/styles for the hour button of the BitCircularTimePicker. |
| MinuteButton | string? | null | Custom CSS classes/styles for the minute button of the BitCircularTimePicker. |
| SecondButton | string? | null | Custom CSS classes/styles for the second button of the BitCircularTimePicker. |
| HourMinuteSeparator | string? | null | Custom CSS classes/styles for the hour minute separator of the BitCircularTimePicker. |
| HourMinuteText | string? | null | Custom CSS classes/styles for the hour/minute text rendered in the single-part edit modes of the BitCircularTimePicker. |
| AmPmContainer | string? | null | Custom CSS classes/styles for the AM/PM container of the BitCircularTimePicker. |
| AmButton | string? | null | Custom CSS classes/styles for the AM button of the BitCircularTimePicker. |
| PmButton | string? | null | Custom CSS classes/styles for the PM button of the BitCircularTimePicker. |
| SelectedButtons | string? | null | Custom CSS classes/styles for the selected buttons of the BitCircularTimePicker. |
| ClockContainer | string? | null | Custom CSS classes/styles for the clock container of the BitCircularTimePicker. |
| ClockFace | string? | null | Custom CSS classes/styles for the clock face of the BitCircularTimePicker. |
| ClockPin | string? | null | Custom CSS classes/styles for the clock pin of the BitCircularTimePicker. |
| ClockNumber | string? | null | Custom CSS classes/styles for the clock number of the BitCircularTimePicker. |
| ClockSelectedNumber | string? | null | Custom CSS classes/styles for the clock selected number of the BitCircularTimePicker. |
| ClockDisabledNumber | string? | null | Custom CSS classes/styles for a clock number that cannot be selected, because of the time bounds, the steps or the allowed-value predicates. |
| ClockPointer | string? | null | Custom CSS classes/styles for the clock pointer of the BitCircularTimePicker. |
| ClockPointerThumb | string? | null | Custom CSS classes/styles for the clock pointer thumb of the BitCircularTimePicker. |
| ClockPointerThumbMinute | string? | null | Custom CSS classes/styles for the clock pointer thumb of the BitCircularTimePicker when it does not rest on a number of the dial - between two marks, or on a part of the time that has not been set yet. |
| Actions | string? | null | Custom CSS classes/styles for the row holding the "now" and "clear" buttons of the BitCircularTimePicker. |
| NowButton | string? | null | Custom CSS classes/styles for the button that sets the BitCircularTimePicker to the current time. |
| ClearButton | string? | null | Custom CSS classes/styles for the button that clears the value of the BitCircularTimePicker. |
| CloseButton | string? | null | Custom CSS classes/styles for the close button of the BitCircularTimePicker. |
| CloseButtonIcon | string? | null | Custom CSS classes/styles for the close button icon of the BitCircularTimePicker. |
BitVisibility enum
| Name | Value | Description |
|---|---|---|
| Visible | 0 | Show content of the component. |
| Hidden | 1 | Hide content of the component,though the space it takes on the page remains. |
| Collapsed | 2 | Hide content of the component,though the space it takes on the page gone. |
BitPlacement enum
| Name | Value | Description |
|---|---|---|
| Top | 0 | The top edge. |
| Bottom | 1 | The bottom edge. |
| Start | 2 | The edge the reading direction starts from - the left in LTR, the right in RTL. On the vertical axis, which does not turn around, it is the top. |
| End | 3 | The edge the reading direction ends at - the right in LTR, the left in RTL. On the vertical axis, which does not turn around, it is the bottom. |
| Left | 4 | The left edge, in both reading directions. |
| Right | 5 | The right edge, in both reading directions. |
| Center | 6 | The middle of the axis, against neither edge. |
| TopAndBottom | 7 | Both edges of the block axis at once. |
| StartAndEnd | 8 | Both edges of the inline axis at once, following the reading direction the way Start and End do. |
BitDropDirection enum
| Name | Value | Description |
|---|---|---|
| All | 0 | The direction determined automatically based on the available spaces in all directions. |
| TopAndBottom | 1 | Show the callout at the top or bottom side. |
BitCircularTimePickerEditMode enum
| Name | Value | Description |
|---|---|---|
| Normal | 0 | Every part the picker shows can be edited, and settling one moves the dial on to the next. |
| OnlyMinutes | 1 | Only the minute can be edited; the rest of the current value is kept as it is. |
| OnlyHours | 2 | Only the hour can be edited; the rest of the current value is kept as it is. |
| OnlySeconds | 3 | Only the second can be edited; the rest of the current value is kept as it is. The picker deals in seconds in this mode whether or not ShowSeconds is set. |
BitCircularTimePickerView enum
| Name | Value | Description |
|---|---|---|
| Hour | 0 | The dial selects the hour. |
| Minute | 1 | The dial selects the minute. |
| Second | 2 | The dial selects the second, which only a picker that shows the seconds ever moves on to. |
BitTimeFormat enum
| Name | Value | Description |
|---|---|---|
| TwentyFourHours | 0 | Show time pickers in 24 hours format. |
| TwelveHours | 1 | Show time pickers in 12 hours format. |
BitSize enum
| Name | Value | Description |
|---|---|---|
| Small | 0 | The small size. |
| Medium | 1 | The medium size. |
| Large | 2 | The large size. |
BitColor enum
| Name | Value | Description |
|---|---|---|
| Primary | 0 | Primary general color. |
| Secondary | 1 | Secondary general color. |
| Tertiary | 2 | Tertiary general color. |
| Info | 3 | Info general color. |
| Success | 4 | Success general color. |
| Warning | 5 | Warning general color. |
| SevereWarning | 6 | SevereWarning general color. |
| Error | 7 | Error general color. |
| PrimaryBackground | 8 | Primary background color. |
| SecondaryBackground | 9 | Secondary background color. |
| TertiaryBackground | 10 | Tertiary background color. |
| PrimaryForeground | 11 | Primary foreground color. |
| SecondaryForeground | 12 | Secondary foreground color. |
| TertiaryForeground | 13 | Tertiary foreground color. |
| PrimaryBorder | 14 | Primary border color. |
| SecondaryBorder | 15 | Secondary border color. |
| TertiaryBorder | 16 | Tertiary border color. |
BitVisibility enum
| Name | Value | Description |
|---|---|---|
| Visible | 0 | The content of the component is visible. |
| Hidden | 1 | The content of the component is hidden, but the space it takes on the page remains (visibility:hidden). |
| Collapsed | 2 | The component is hidden (display:none). |
BitDir enum
| Name | Value | Description |
|---|---|---|
| Ltr | 0 | Ltr (left to right) is to be used for languages that are written from the left to the right (like English). |
| Rtl | 1 | Rtl (right to left) is to be used for languages that are written from the right to the left (like Arabic). |
| Auto | 2 | Auto lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then applies that directionality to the whole element. |
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.