RayCraftDocs
v1.0.3 raycraft.dev
On this page

RangeSlider

Free

Slider with two thumbs for choosing a lower and an upper value. Both thumbs are native range inputs, so the arrow keys work.

Example

RangeSlider control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
DisabledboolDisables interaction.
HighDoubleUpper value. Use with @bind-High.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
LowDoubleLower value. Use with @bind-Low.
MarkStepDouble?Distance between marks; defaults to a fifth of the range.
MaxDoubleLargest allowed value (ProgressBar: the value that means 100%; Rating: number of stars).
MinDoubleSmallest allowed value.
ShowMarksboolDraws tick marks with numbers under the track.
ShowValueboolShows the current value next to the slider.
StepDoubleAmount added or removed by the buttons and arrow keys.
StylestringInline style added to the root element.

Events

EventTypeDescription
HighChangedEventCallback<Double>Raised when the upper value changes.
LowChangedEventCallback<Double>Raised when the lower value changes.

Package

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