Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > MarkupLabel Control
  New Posts New Posts RSS Feed - XAML : TextTrimming fails
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XAML : TextTrimming fails

 Post Reply Post Reply
MacW View Drop Down
Senior Member
Senior Member

Joined: 26 June 2007
Status: Offline
Points: 252
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Topic: XAML : TextTrimming fails
    Posted: 14 November 2015 at 4:04am
It seems that the TextTrimming only works with single-line markup but not with a <TextBlock> that also uses TextWrapping:

<TextBlock TextWrapping='Wrap' Width='200' Height='80' TextTrimming='CharacterEllipsis' VerticalAlignment="Top" HorizontalAlignment="Left">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque adipiscing. Phasellus mattis auctor diam. Pellentesque quis lorem eget arcu dapibus semper. Proin sollicitudin mattis diam. Suspendisse semper rutrum quam. </TextBlock>

Does wrap the text but overflow text is simply clipped. No ... ellipsis is shown. Is this intended or a glitch?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.078 seconds.