Welcome to Microsoft Q&A!
I've checked the document about the TextBoxExtensions. Currently, there is no way to directly add a 50 max limitation for the Textbox Mask and you still have to put these character manually. You could submit a feature request about this in Toolkit Github: https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues
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.