Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2006

Tip: Looking for answers? Try searching our database.

DataGridView Column header Color - vs 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sudhaoncyberworld@gmail.com - 26 Jul 2006 14:35 GMT
Hi Techies,

I have added datagridview in my windows application, i have set the
Column header color to some color, but it is not reflecting the color
whatever
i set there.Its just showing the color "Control".I am using Win XP OS,

But the samething is working perfectly in Win 2000 Prof, what could be
the problem, how can i resolve it.....

Enviroment :-
-------------------
IDE - VS 2005
Lang - c#
Framework - 2.0
Application - Windows
OS - Win XP
Expecting solution
Thanks
Patrice - 26 Jul 2006 14:50 GMT
You have to set the DataGridView.EnableHeadersVisualStyles to False so that
the XP theme is not used to paint those cells...

Signature

Patrice

> Hi Techies,
>
[quoted text clipped - 15 lines]
> Expecting solution
> Thanks
sudhaoncyberworld@gmail.com - 27 Jul 2006 05:17 GMT
Thanks a lot, it worked out

> You have to set the DataGridView.EnableHeadersVisualStyles to False so that
> the XP theme is not used to paint those cells...
[quoted text clipped - 21 lines]
> > Expecting solution
> > Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.