Class SliderContext<T>
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Represents the context of a slider component, containing both the value and nullable value of the slider.
public class SliderContext<T> where T : struct
Type Parameters
T
The type of the value the slider represents.
- Inheritance
-
SliderContext<T>
- Inherited Members
- Extension Methods
Constructors
SliderContext(T, T?)
Initializes a new instance of the SliderContext<T> class with the specified value and nullable value.
public SliderContext(T value, T? nullableValue)
Parameters
value
TThe value of the slider.
nullableValue
T?The nullable value of the slider.
Properties
NullableValue
The nullable value of the slider.
public T? NullableValue { get; }
Property Value
- T?
Value
The value of the slider.
public T Value { get; }
Property Value
- T