BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Good Morning, I need to increase the thickness of the Slider, I tried with height property but it only increases the height of the control.
<input:SfRangeSlider Grid.Row="1" Grid.Column="1" x:Name="Slider"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Minimum="0"
Maximum="100"
Value="50"
ValueChanged="Slider_ValueChanged"
Width="300" Height="100"/>
Hi Edoardo,
Thanks for contacting Syncfusion support.
In SfRangeSlider, the InactiveTrackStyle and ActiveTrackStyle can be utilized to customize the style of the track, including its thickness. For more information, please refer to our User Guide document using the below link. Additionally, we have also provided a sample for your reference. Please review it and let us know if you require any additional information or clarifications.
UG link: https://help.syncfusion.com/wpf/range-slider/customization
Regards,
Vijayakumar V
Hi Vijayakumar,
Thank you for your support and your example.
I managed to change the style following your directions, but in Runtime with the startup App the style returns to default.
My project example in the attach
Regards
Attachment: wpfappmasterTesmitWpfApp_a4d17ff6.zip
Hi Edoardo,
When using a theme, the style defined in the theme for the control will take precedence over any styles set in the project. To customize the style of the control, you can import the control style from the theme and override it in the project. In SfRangeSlider, we can use the Template property to customize the track style. We have verified that this workaround successfully allows for customization of the control's style within the sample project. Please review the sample and let us know if you need any further assistance.