Align Datagrid Headers and Detail

  • Thread starter Thread starter Bill Gates
  • Start date Start date
B

Bill Gates

Hi All,

I am having a little trouble aligning information in my Datagrid, what I
want to do is align the Header text of a column to the left but the detail
information of this column to the right.

I can align a whole column (header and detail) but can not seperate the two.

Any Ideas?

Thanks
 
Bill,

DataGridColumn.HeaderStyle allows you to configure the header style

and

DataGridColumn.ItemStyle allows you to configure the item style

HTH

Ollie Riches
 
Thanks for this,

does this work for Windows Forms? can not seem to find the HeaderStyle!

doing my head in....Grrrr!!!!!

Thanks
 
Back
Top