Is there another way to set the DataGrid column alignment?
Is there any direct way to set the DataGrid column content alignment other than the use of styles or templated co开发者_开发问答lumns?! there must be a direct way for that, its a natrual requirement!!
As far as I know, no. The smallest amount of XAML would be to create left, centre and right styles & templates, and then each time you create a column, set the CellStyle.
精彩评论