Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:40 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.