How to disable return in a property bound to a GridViewColumn?
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
精彩评论