By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 943 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

Header cell alignment

P: n/a
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
Apr 3 '06 #1
Share this Question
Share on Google+
1 Reply


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

"Morten Snedker" <morten_spammenot_ATdbconsult.dk> wrote in message
news:vh********************************@4ax.com...
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

Apr 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.