How get a WPF Datagrid with cells that wrap text instead of truncating it?

前端 未结 5 1130
你的背包
你的背包 2020-12-24 06:05

What must be done to get a WPF DataGrid with cells that wrap text instead of truncating it?

Right now when a text is bigger and don\'t fit in a column the text is tr

5条回答
  •  萌比男神i
    2020-12-24 06:34

    "You could try to template the cells with a TextBlock which has text-wrapping enabled." If you use TextBlock, you will have trouble with copy/paste.

提交回复
热议问题