Blazor Range Slider - Value Formatting

Range Slider / Formatting

This sample demonstrates the formatting of Ticks and Tooltip in the Blazor Range Slider component. Drag the thumb over the bar to select the formatted values between Min and Max.

Loading Syncfusion Blazor Server Demos…

The format feature customizes the units of Range Slider values to the desired format. The formatted values will also be applied to the ARIA attributes of the Range Slider component.

In this demo, the Range Slider with currency and kilometer formatting is demonstrated.

  • Currency Slider – In this example, the ticks and tooltip are formatted into currency using the Format property.
  • Kilometer Slider – In this example, the ticks and tooltip are formatted into kilometers using the Format property.
  • Time Slider – In this example, the ticks and tooltip are formatted into time using the OnTooltipChange event in the tooltip and the TicksRendering event in ticks.

For more information, refer to the format section of the documentation.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE