How to add CharacterEllipsis to the beginning of a text block in wpf?

I have TextBlocks TextTrimming = TextTrimming.CharacterEllipsis, and I want the dots to appear at birth. Is there a property for this?

For example, if I have the text "123456789ABCDEF", it displays "12345678 ...", but I want it to "... 89ABCDEF".

thank

+5
source share
1 answer

I had a problem with FlowDirection, it displays ... at the beginning, but it still starts with 1234, etc.

I came across this very similar question:

Ellipsis at the beginning of a line in a WPF ListView

Someone has a routine to do this manually. Hope that helps :)

+1

All Articles