6

I have a TextBlock with TextTrimming = TextTrimming.CharacterEllipsis and I want the dots to appear at the beginging. Is there a property for this?

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

Thanks

Brad Werth
  • 17,411
  • 10
  • 63
  • 88
Gabriel Diaconescu
  • 1,769
  • 3
  • 21
  • 31

1 Answers1

2

I had a go at messing about with FlowDirection, it renders the ... at the beginning but still started with 1234 etc.

I did however come across this very similar question:

Ellipsis at start of string in WPF ListView

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

Community
  • 1
  • 1
Tom
  • 3,354
  • 1
  • 22
  • 25