Can System.Windows.Forms.ColumnHeader use a different image then one from the main ImageList?
-
22-08-2019 - |
Question
I have an ListView set up to sort, and I have that working well.
However, when the ListView is sorted, no indication is provided as to the current sort column and order.
I tried a solution setting the ColumnHeader.ImageKey property whenever sorting, but I want to be able to use images that aren't the size specified by the ListView's SmallImageList.
Is there any way to do this without using OwnerDraw mode?
Solution
I don't think you can do it without OwnerDraw. However, OwnerDraw isn't as bad as you might think. There are many examples on CodeProject.com; like this and this
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow