We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to place thumb at certain position on loading.

Syncfusion RangeSlider provides support to place the thumb at certain position on loading.

 

To Place the single thumb at certain position on loading:

Step 1: Set desired value to the Value Property, and set ShowRange to False.

Step 2: Single will be placed on the position based on the value given for Value property.

 

To Place the dual thumb at certain position on loading:

Step 1: Set Values for RangeStart and RangeEnd, and set ShowRange to True.

Step 2: Thumb will be placed on the position based on the values given for RangeStart and RangeEnd, respectively.

 

The following code illustrates how to achieve this way.

XAML code to place single thumb at certain position on loading:

 

C# code to place single thumb at certain position on loading:

 

XAML code to place dual thumb at certain position on loading:

 

C# code to place dual thumb at certain position on loading:

 

Image after setting single thumb on certain position on loading:

 

 

 

Image after setting dual thumb on certain position on loading:

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7674 04/24/2017 01/08/2018 Xamarin.Forms SfRangeSlider
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.