Saturday, May 22, 2010

How can I change color of DataGridView Scrollbar in C# .net 2.0?

The HorizontalScrollBar and VerticalScrollBar properties of the DataGridView return a ScrollBar control, which has all of the style properties exposed.





The member list for the ScrollBar control:


http://msdn2.microsoft.com/en-us/library...





The overview of the ScrollBar control:


http://msdn2.microsoft.com/en-us/library...





Also, here is an article on creating custom scroll bars: http://www.codeproject.com/cs/miscctrl/c...

How can I change color of DataGridView Scrollbar in C# .net 2.0?
as far as i know, you cant change the scrollbar colors in .net... :P


1 comment: