I have a TextBlock with the following setting:
TextBlock
TextWrapping=\"Wrap\"
Can I determine the maximum number of lines?
for exam
you need TextTrimming="WordEllipsis" setting in your TextBlock
TextTrimming="WordEllipsis"