Use System style scrollbars?

Hi how can use the system style scrollbars?? I need to run my applications on windows 7 but it uses the syncfusion style scrollbars instead of the system style.

Thanks,



1 Reply

SP Sreemon Premkumar Muthukrishnan Syncfusion Team June 18, 2024 04:08 PM UTC

Hi ollie, 

We can't set the style for the scrollbar in SfDataGrid based on the Windows 7 system style, as it is a custom scroll control. To change the appearance or theme of the scrollbar, you can set the theme for the SfDataGrid. Please find the code snippet below.
Code snippet:
this.sfDataGrid1.ThemeName = "HighContrastBlack";


Output:


For more information, please refer to the list of themes mentioned in the user guide document linked below.
https://help.syncfusion.com/windowsforms/datagrid/themes

Regards,
Sreemon Premkumar M.

Loader.
Up arrow icon