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. Image for the cookie policy date
close icon

FormatString property doesn't exist

Hi, I update ti the last package version 17.0.3.17. In your guide of the control you suggest to use FormatString property like this:

<StackLayout Margin="3">

<range:SfRangeSlider x:Name="rangeSlider1" FormatString="Money: {0:c}" HeightRequest="90" WidthRequest="200" Minimum="0" Maximum="12" RangeStart="0" RangeEnd="12" TickFrequency="2"/>
          
</StackLayout>

but when I try to do the same the VS tell me that this property don't exist. Instead I try to use LabelFormat but is not that I need.

my gol Is to have a range of hour for the bar from 0:00 to 23:30

2 Replies

HM Hemalatha Marikumar Syncfusion Team October 18, 2019 08:38 AM UTC

Hi Mik, 
 
Sorry for the inconvenience caused.  
 
We have changed the name of FormatString property to LabelFormat. Currently, we are revamping the user guidelines of RangeSlider and these changes will be reflected on tomorrow (October 19,2019). 
 
You can achieve your requirement by setting LabelFormat as like below code snippet. 
 
XAML: 
LabelFormat="{}{0:N2}" 
 
Please download the sample in below link 
 
 
Please let us know if you have any other query. 
 
Regards,
Hemalatha M 
 
 



HM Hemalatha Marikumar Syncfusion Team October 21, 2019 01:38 PM UTC

  
Hi Mik, 
 
The changes are reflected in Live 
  
 
Regards, 
Hemalatha M. 


Loader.
Live Chat Icon For mobile
Up arrow icon