RayCraftDocs
v1.0.3 raycraft.dev
On this page

TimeSpanPicker

Free

Enters a duration as days, hours, minutes and seconds. The value is a TimeSpan.

Example

TimeSpanPicker control

Parameters

ParameterTypeDescription
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.
ShowDaysboolAlso enters (TimeSpanPicker) or shows (Countdown) days.
ShowSecondsboolAlso enters seconds.
StylestringInline style added to the root element.
ValueTimeSpan?Current value. Use with @bind-Value.

Events

EventTypeDescription
ValueChangedEventCallback<TimeSpan?>Raised when the value changes.

Package

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