RayCraftDocs
v1.0.3 raycraft.dev
On this page

TimeRangePicker

Free

Start and end time in one field, each written in the format of the current language like TimePicker. The value is a TimeRange. The end must not be before the start unless AllowOvernight is set.

Example

TimeRangePicker control

Parameters

ParameterTypeDescription
AllowOvernightboolAllows an end time earlier than the start (a period over midnight).
ClassstringExtra CSS classes added to the root element.
DisabledboolDisables interaction.
DisplayNamestringName used in validation messages.
HelperTextstringHint shown below the field.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
ReadOnlyboolShows the value but does not allow changes.
StepSecondsintStep of the arrow keys in seconds (below 60 also shows seconds).
StylestringInline style added to the root element.
ValueTimeRangeCurrent value. Use with @bind-Value.

Events

EventTypeDescription
ValueChangedEventCallback<TimeRange>Raised when the value changes.

Package

TimeRangePicker is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.