Solved

Changing color of Gridlines in VB.NET ListView

Posted on 2003-11-24
3
2,622 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now