Geeks With Blogs
Everything IT Programmer, SQL and Server Admin

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.

Posted on Thursday, July 15, 2004 7:47 AM | Back to top


Comments on this post: DataGrid TableStyles Oddity

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Gerry O'Brien | Powered by: GeeksWithBlogs.net