• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Limits in ASP.NET Core Range Slider Control

This sample demonstrates the rendering of Slider component with limits. Drag the thumb over the bar for selecting the values between assigned limit values. Change the values in the property pane to set different limit values.

DEMO
SOURCE
MinStart
MinEnd
MaxStart
MaxEnd
Lock First Handle
Lock Second Handle

The limits are used to limit between certain range. When the limits are assigned, draggable limited area will be in the dark shadow color of the current theme. The limits APIs are explained below.

minStart -   Used to set minimum limit value for first handle.
minEnd -   Used to set maximum limit value for first handle.
maxStart -   Used to set minimum limit value for second handle.
maxEnd -   Used to set maximum limit value for first handle.
startHandleFixed -   Used to lock the first handle in the current position.
endHandleFixed -   Used to lock the second handle in the current position.

In this demo, Limits with MinRange and range Slider is demonstrated.

  • MinRange Slider – In this sample, the minimum and maximum limit of the slider is set to 10 and 40 respectively.
  • Range Slider – In this sample, the minimum and maximum limit of the first handle is set to 10 and 40 respectively and the minimum and maximum limit of the second handle is set to 60 and 90 respectively.

For more information, refer to the limits section from the documentation.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab