Problem : I need to change the color of a DataGridView scrollbar in C# WinForms

Problem : I need to change the color of a DataGridView scrollbar in C# WinForms

I need to paint a scrollbar from a DataGridView in C# WinForms.

Can anyone show me how?

Thanks,


Solution :  I need to change the color of a DataGridView scrollbar in C# WinForms

I believe you need to change the color of the scroll bar isnt it?

Things you could do:

1: You can get hold of SB by accessing grid’s Controls property, then try changing it’s color. Not sure it would work though as grid might restore the color.

2: This problem is not easy as it seems to be, and I think a practical solution is to use skinned ScrollBars to replace the original ScrollBars.

3: try http://www.codeproject.com/Messages/3259958/Re-Changing-the-colour-of-scroll-bar.aspx