Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Changing color of Gridlines in VB.NET ListView

Posted on 2003-11-24
3
Medium Priority
?
2,805 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
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

877 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