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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top