MudSlider<T> API

Pages
Properties
Name Type Default Description
Data
Value
T
null
Validation
Max
T
null The maximum allowed value of the slider. Should not be equal to min.
Min
T
null The minimum allowed value of the slider. Should not be equal to max.
Step
T
null How many steps the slider should take on each move.
Behavior
ChildContent
RenderFragment
null Child content of component.
Converter
Converter<T>
Disabled
bool
False If true, the slider will be disabled.
Immediate
bool
True If true, the dragging the slider will update the Value immediately. If false, the Value is updated only on releasing the handle.
Appearance
Color
Color
Color.Primary The color of the component. It supports the Primary, Secondary and Tertiary theme colors.
Size
Size
Size.Small Labels for tick marks, will attempt to map the labels to each step in index order.
TickMarkLabels
string[]
null Labels for tick marks, will attempt to map the labels to each step in index order.
TickMarks
bool
False If true, displays tick marks on the track.
ValueLabel
bool
False Displays the value over the slider thumb.
Variant
Variant
Variant.Text The variant to use.
Vertical
bool
False If true, displays the slider vertical.
Common
Class
string
null User class names, separated by space.
Style
string
null User styles, applied on top of the component's own classes and styles.
Tag
object
null Use Tag to attach any user data object to the component for your convenience.
UserAttributes
Dictionary<string, object>
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.
EventCallbacks
Name Type Description
ValueChanged EventCallback<T>

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.8

An error has occurred. This application may no longer respond until reloaded. Reload 🗙