I've changed the column header color by default. Now, I want to change the 'sort glyph icon' color in DataGridView of Windows Form C# when it gets sorted:
See the above picture. The column is sorted but icon's color makes it's visibility inadequate.
Please let me know if it's color can be changed. Thanks!
There is no property for changing color of sort icon. As an option to change it, you can handle
CellPainting
event and draw the cell yourself.Example
Draw Visual Styles Sort Icon
To see drawing with Visual Styles sort icon, take a look at this post.