Ellipsis at start of string in WPF ListView

前端 未结 6 1911
野的像风
野的像风 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:48

    Unfortunately, this is not possible in WPF today, as you can see from the documentation.

    (I used to work at Microsoft on WPF, this was a feature we unfortunately did not get around to doing -- not sure if it's planned for a future version)

提交回复
热议问题