RayCraftDocs
v1.0.3 raycraft.dev
On this page

DateTimePicker

Free

One field for date and time: a DatePicker and a TimePicker side by side that together bind a DateTime.

Example

DateTimePicker 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).
MaxDateDateTime?Latest selectable date.
MinDateDateTime?Earliest selectable date.
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.
ValueDateTime?Current value. Use with @bind-Value.

Events

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

Package

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