Is there a way to check if TextBlock has been trimmed? #13602
Answered
by
laolarou726
laolarou726
asked this question in
Q&A
-
rt |
Beta Was this translation helpful? Give feedback.
Answered by
laolarou726
Nov 14, 2023
Replies: 2 comments 1 reply
-
Just found: TextBlock.TextLayout.TextLines.Any(tl => tl.HasCollapsed) will do the trick |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
laolarou726
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just found: TextBlock.TextLayout.TextLines.Any(tl => tl.HasCollapsed) will do the trick