Blog Stats
  • Posts - 19
  • Articles - 0
  • Comments - 54
  • Trackbacks - 255

 

DataGrid TableStyles Oddity

Setting up tables styles in a datagrid for an application displayed some strange behaviour.  As an example, I have added various DataGridTextBoxColumns to my table styles.  Setting the HeaderText is the where the strangeness creeps in. 

If you have a text value of Qty as the HeaderText and set it to HorizontalAlign.Right, you will notice that the y in Qty gets partly chopped off.  Change the text to Quantity and all is well.

 

Give it a shot.


Feedback

No comments posted yet.


Post a comment





 

Please add 7 and 2 and type the answer here:

 

 

Copyright © Gerry O'Brien