Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2008, 07:40 AM
Authorized User
Points: 88, Level: 1
Points: 88, Level: 1 Points: 88, Level: 1 Points: 88, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2008
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default set font for grid column header

   Hi All,

I am doing UI design(form design modifications) not programmatically.
I am facing problem while appplying font to Data grid column .
Here i am placing Data Grid within GroupBox.
When i apply the Group box text font as Arial and bold
this formatting applies to all controls which is placed inside the group box.
But when i try to change the font as MsSanserif and Regular at ColumnheaderDefaultCell property of GridView,it will change at that moment
After saving and closing the form,if i opened that form again it wil be having the the same font which is applied to Groupbox.
But this is not the case for other controls like text box,buttons.
This is only happeneing for GridView Column Header.


Is there any possibolity of having different fonts for Grid column header and Group box Text.?

Is there any way of prventing inheiting property of Grid view control from group box control?



I want this has to be done by UI modification not programmaticaly.....


Please help me out of this problem.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Grid Column Header font problem suji VB.NET 0 June 12th, 2008 07:48 AM
Font size of Header Text in DetailsView Control AspNetGuy ASP.NET 3.5 Basics 3 May 22nd, 2008 04:23 PM
Excel Header Font nnmmss Excel VBA 3 March 28th, 2007 03:15 PM
Set Printer Font savandavande VB.NET 2002/2003 Basics 0 October 7th, 2006 05:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.