RayCraftDocs
v1.0.3 raycraft.dev
On this page

NumericField

Free

Number input for any numeric type (int, decimal, double, nullable versions). Values outside Min and Max are clamped, and the buttons step by Step.

Example

NumericField 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).
MaxDouble?Largest allowed value (ProgressBar: the value that means 100%; Rating: number of stars).
MinDouble?Smallest allowed value.
ReadOnlyboolShows the value but does not allow changes.
StepDoubleAmount added or removed by the buttons and arrow keys.
StylestringInline style added to the root element.
ValueintCurrent value. Use with @bind-Value.

Events

EventTypeDescription
ValueChangedEventCallback<int>Raised when the value changes.

Package

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