Thomasian
asked on
WPF DataGrid Column Alignment
I need to change the alignment of a datagrid column to right.
The following link (which works) shows what I need to do.
http://stackoverflow.com/questions/720732/column-aligment-in-wpf-datagrid#720824
But the code is in XAML. I need to do it in C# or VB since I will be adding the columns at runtime.
Thanks
The following link (which works) shows what I need to do.
http://stackoverflow.com/questions/720732/column-aligment-in-wpf-datagrid#720824
But the code is in XAML. I need to do it in C# or VB since I will be adding the columns at runtime.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.c-sharpcorner.com/UploadFile/mahesh/49/