开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜