Enum SliderType
Defines the different types of slider functionality available in the Slider component.
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum SliderType
Remarks
The SliderType enum determines how the slider behaves and what values it represents. Each type provides different interaction patterns and visual representations for different use cases.
Examples
<!-- Default slider -->
<SfSlider TValue="int" Value="50" Type="SliderType.Default">
</SfSlider>
<!-- Range slider -->
<SfSlider TValue="int[]" Value="@(new int[]{20, 80})" Type="SliderType.Range">
</SfSlider>
Fields
| Name | Description |
|---|---|
| Default | Creates a standard single-handle slider. |
| MinRange | Creates a slider with range selection from minimum value to the selected value. |
| Range | Creates a dual-handle slider for selecting a range of values. |