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.
 
Back
Top