Ellipsis at start of string in WPF ListView

前端 未结 6 1900
野的像风
野的像风 2020-12-06 06:05

I have a WPF ListView (GridView) and the cell template contains a TextBlock. If I add: TextTrimming=\"CharacterEllipsis\" TextWr

6条回答
  •  甜味超标
    2020-12-06 06:59

    In case someone else stumbles on this question as I did, here's another thread with a much better answer (not taking credit):

    Auto clip and append dots in WPF label

提交回复
热议问题