Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - TextTrimming and TextWrapping
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TextTrimming and TextWrapping

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


Joined: 26 June 2007
Status: Offline
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Topic: TextTrimming and TextWrapping
    Posted: 25 May 2015 at 12:56pm
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

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.