Solved

Changing color of Gridlines in VB.NET ListView

Posted on 2003-11-24
3
2,667 Views
Last Modified: 2007-12-19
How can we Change the  color of Gridlines in VB.NET ListView?
Is some way there to extend the control is possible in vb.net??

I know that it can be done in mfc. what about vb.net?

Also change of color of grid lines in VB . NET listview- is it made possible in later versions of .NET??
- I am using 1.0 Framework
0
Comment
Question by:rajaloysious
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 9810591
AFAIK there isn't a way to change the grid line color, and I am using VB.NET 2003.  It may be possible to create you own user control, and override its default behavior.  To do that you would add a new UserControl, and change the line at the top of the code module from:

Inherits System.Windows.Forms.UserControl

to

Inherits System.Windows.Forms.ListView
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10277158
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: TheLearnedOne {http:#9810591}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question