Table of Contents

Class SliderContext<T>

Namespace
MudBlazor
Assembly
MudBlazor.dll

The current state of a MudSlider<T> component, containing both the value and nullable value.

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

Remarks

This state is a cascading parameter for MudSlider<T> components.

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 T

The 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