Change value with mouse as in ThemeStudio

How can I change the value in a DoubleTextBox by dragging the mouse with visible RangeAdorner as shown in ThemeStudio?
Do I have to implement it by myself or is it a bit easier?

Thanks,
Juergen

1 Reply 1 reply marked as answer

VR Vijayalakshmi Roopkumar Syncfusion Team November 6, 2020 04:38 PM UTC

Hi Jürgen 
 
Thank you  for your contacting Syncfusion Support. 
 
Query : How can I change the value in a DoubleTextBox by dragging the mouse with visible RangeAdorner as shown in ThemeStudio?Do I have to implement it by myself or is it a bit easier? 
 
You can achieve your requirement  by using EnableRangeAdorner property in DoubleTextBox. Please find the code below: 
 
Code:[XAML] 
 
 
<syncfusion:DoubleTextBox 
                Grid.Column="4" 
                Height="25" 
                ApplyNegativeForeground="True" 
                ApplyZeroColor="True" 
                EnableExtendedScrolling="True" 
                EnableRangeAdorner="True" 
                MaxValue="100" 
                MinValue="-100" 
                Value="50" /> 
 
 
 
 
  
You can refer more about this property using the following UG link: 
 
 
Please try this solution and let us know if it helps. 
 
Regards, 
Vijayalakshmi VR 


Marked as answer
Loader.
Up arrow icon