Articles in this section
Category / Section

How to customize ScrollBar and GridControl border?

1 min read

To change the border style of GridControl, add grid control inside the Border element and change the border style like CornerRadius, BorderThickness, etc.

To customize the appearance of scrollbar thumb and scrollbar buttons, create the custom  control templates for vertical and horizontal scrollbar and modify the Template property value with custom control templates. Please refer the sample demo.

Code snippet

<!--Code for ScrollBar resource-->
<Grid>
<Border BorderBrush="Black" CornerRadius="5" BorderThickness="1">  
<ScrollViewer HorizontalScrollBarVisibility="Auto"
              VerticalScrollBarVisibility="Auto" CanContentScroll="True">   <syncfusion:GridControl x:Name="grid"/>
</ScrollViewer>
</Border>
</Grid>

ScrollBar UI Customization

Download Demo from

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied