[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to change row and border color of dataGridView?

Posted on 2007-11-14
7
Medium Priority
?
8,609 Views
Last Modified: 2010-05-18
All,
i want to change the border color and row color to something like "224,255,255" of dataGridView.
how to do that by Code OR by designer?

thanks
viola
0
Comment
Question by:viola123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 22

Accepted Solution

by:
RedKelvin earned 750 total points
ID: 20285255
0
 
LVL 6

Author Comment

by:viola123
ID: 20285775
hi,
i think i need to clarify my question:
i want to
1. change the border color of the whole dataGridView not the row border color
2. change the selecter 's color not the row color

i am sorry for the confusing.

thanks
0
 
LVL 22

Expert Comment

by:RedKelvin
ID: 20285915
That first link will show you how to change the grid border color for the grid.

What do you mean by the selector color?
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 6

Author Comment

by:viola123
ID: 20286012
RedKelvin:
i tried the link, it changed the color of the grid lines separating the cells of dataGridView not the border of the whole dataGridView.
the selector is the cell before each row, once you select a row, an ARROW sign will be showed on the cell.

thanks
0
 
LVL 3

Assisted Solution

by:FMabey
FMabey earned 750 total points
ID: 20298668
viola123,

The selector is known as the RowHeader, so you need to alter the RowHeaderDefaultCellStyle(Backcolor)
0
 
LVL 3

Assisted Solution

by:FMabey
FMabey earned 750 total points
ID: 20298691
I don't think the border color is configurable.
0
 
LVL 6

Author Comment

by:viola123
ID: 20310343
thanks a lot
viola
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

649 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