Print Page | Close Window

XAML : TextTrimming fails

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22784
Printed Date: 21 November 2024 at 9:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XAML : TextTrimming fails
Posted By: MacW
Subject: XAML : TextTrimming fails
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net