C# ListView background color question

  • Thread starter Thread starter Jason Huang
  • Start date Start date
J

Jason Huang

Hi,

In my C# Windows form MyForm, I have a ListView LVW1 and it's size is pretty
big, says it can accommodate approximately 25 rows.
The LVW1 is in a GroupBox.
Now that I only have 5 rows of ListViewItem in the LVW1, and we leave empty
space on the LVW1.
In some situation the color of the empty space of the LVW1 is grey, and
sometimes it is white.
How do I do to set the color of whole LVW1 to be white always?
Thanks for help.


Jason
 
Just found out that it is because the LVW1's . Enabled=false;
Is it possible not to grey it out when it is disabled?
Thanks for help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top