Header cell alignment

  • Thread starter Thread starter Morten Snedker
  • Start date Start date
M

Morten Snedker

Using datagridview:

..Columns(2).HeaderCell.Style.Alignment =
DataGridViewContentAlignment.MiddleRight

still leaves a lot of space to the right border of the column header -
any good reason for this?




Regards /Snedker
 
I believe it's space for the little up/down arrow if you click on the header
to sort the grid on that column.
 

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