Mohammed A. Fadil
Mohammed A. Fadil

Reputation: 9377

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 columns?! there must be a direct way for that, its a natrual requirement!!

Upvotes: 1

Views: 352

Answers (1)

Paul Stovell
Paul Stovell

Reputation: 32715

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.

Upvotes: 1

Related Questions