Hi,
(assuming the Windows Forms data grid)
Short answer to both of the questions: No, you can't
The long answer: You probably can if you completely override the grid's
paining routine and paint column headers yourself.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"alex" <ai******@hotmail.com> wrote in message
news:u5****************@TK2MSFTNGP09.phx.gbl...
Hi,
two datagrid questions.
1: how can i allign the column header text i.e. have it centered.
the data fields are aligned with HorizontalAligment.xxx and that
works... but on the header.?
2: Is it possible to have colum header and contents differently allinged.
Thanks
Alex