tag:blogger.com,1999:blog-8912334.post-1133540899988335702005-12-02T08:04:00.000-08:002006-01-19T20:36:48.430-08:00two lines in the datagrid headerOk, this is a dirty workaround but it works. <br /><br />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. <br /><br />for instance <br /> System.Drawing.Font f =new System.Drawing.Font("Verdana", <b>15.25F</b>, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point,Convert.ToByte(0));<br /><br /> MyDatagrid.HeaderFont = f;<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8912334-113354089998833570?l=oraclevsmicrosoft.blogspot.com'/></div>Marcnoreply@blogger.com0