Skip to content

Is there a way to check if TextBlock has been trimmed? #13602

Answered by laolarou726
laolarou726 asked this question in Q&A
Discussion options

You must be logged in to vote

Just found: TextBlock.TextLayout.TextLines.Any(tl => tl.HasCollapsed) will do the trick

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@laolarou726
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by laolarou726
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants