Hi @Rayane Thaís Gomes de Lima France ,
Welcome to Microsoft Q&A!
It is recommended that you use text wrapping and vertical scrollbars to solve this problem.
TextBox Enable multi-line input
<TextBox AcceptsReturn="True"
TextWrapping="Wrap"
MaxHeight="52"
ScrollViewer.VerticalScrollBarVisibility="Auto"/>
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.