Quantcast
Channel: Active questions tagged header - Stack Overflow
Viewing all articles
Browse latest Browse all 698

C# Windows Form App (.Net) ListView: Change the Color of the "empty space" at the end if the ListView Header

$
0
0

You've successfully changed the color of a ListView's header and everything else of the ListView.

However, i'm struggling to find a solution to change the color of the header's "empty space" at the end of the header.

Whatever i try, this area seems to be untouched on any "DrawListView" Event Handlers.

Maybe anyone got a solution for this?

I've tried everything in the DrawListViewColumnHeaderEventHandler, such as:

e.Graphics.FillRectangle(Brushes.Black, e.Bounds);

also anything from:
Change the background color of Winform ListView headers
how to change the color of the list items in list view

and also many other methods all around the Internet i've found!
But yet the "empty space" remains unaffected!


Viewing all articles
Browse latest Browse all 698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>