开发者

How to disable return in a property bound to a GridViewColumn?

开发者 https://www.devze.com 2023-03-25 22:18 出处:网络
I have a GridView which is bound to a list of objects. One of the properties is Notes. But it appears really tall in the GridView making the row take one or more row spaces which is insane because the

I have a GridView which is bound to a list of objects. One of the properties is Notes. But it appears really tall in the GridView making the row take one or more row spaces which is insane because the Notes column accepts returns.

Is there a way to d开发者_如何学Cisable return only for the display of that property?

Thanks.


use a converter on the multiline field that replaces \r\n and \n.

Here is a related question

0

精彩评论

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