.comment-link {margin-left:.6em;}
Marc Boizeau's blog
Friday, December 02, 2005
  two lines in the datagrid header
Ok, this is a dirty workaround but it works.

In a winform datagrid you can't directly change the columns header height. is is the workaroun Eric, a collegue of mine find somewhere on internet : change the datagrid header font size without changing the column header font.

for instance
System.Drawing.Font f =new System.Drawing.Font("Verdana", 15.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point,Convert.ToByte(0));

MyDatagrid.HeaderFont = f;
Comments: Post a Comment

<< Home
You are a developer and work with Oracle and Microsoft technologies? Have a look!
How to:
Use updatable views in Access
Get data in Excel from Oracle 1
Get data in Excel from Oracle 2
Draw the Mandelbrot set using C#
Use the "Grouping Sets" SQl Syntax
Use the "Rollup" SQl Syntax
Use the "Rank over" SQl Syntax

Context saving with persistent datasets
.net webservice session
Winform, Web Services & credential
back to work
just a link
self description
A web crawler(regular expressions and httprequest...
call an Oracle stored proc with oledb .net
Updating two lines with one data adapter.
October 2004 / November 2004 / December 2004 / January 2005 / February 2005 / March 2005 / April 2005 / June 2005 / July 2005 / August 2005 / September 2005 / December 2005 / February 2006 / December 2006 / March 2009 /

Powered by Blogger