tag:blogger.com,1999:blog-8085117242240449595.post9071447961352610850..comments2023-12-21T05:46:31.718-05:00Comments on Muhammad Shujaat Siddiqi: WPF - Ellipsis for Overflow Text in TextBlockMuhammad Shujaat Siddiqihttp://www.blogger.com/profile/02519138704633566929noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8085117242240449595.post-54884943439299626362014-06-16T23:26:17.532-04:002014-06-16T23:26:17.532-04:00Hi Shyam, It should show ellipsis for whatever tex...Hi Shyam, It should show ellipsis for whatever text it is not able to accommodate in the size of the TextBlock. What behaviors do you see for your text?<br /><br />Muhammad Shujaat Siddiqihttps://www.blogger.com/profile/02519138704633566929noreply@blogger.comtag:blogger.com,1999:blog-8085117242240449595.post-89970856605109656012014-06-11T02:10:46.356-04:002014-06-11T02:10:46.356-04:00But what if the text has newline.
For your example...But what if the text has newline.<br />For your example lets consider the input test as below<br />"This is<br />sample text<br />with enter<br />button press"<br /><br />can we make it show like:<br /><br />This is...Anonymoushttps://www.blogger.com/profile/12237893887471234561noreply@blogger.com