This is not built into the textbox. Rather, you would have to add a
property for the maximum number of lines, as well as a property for the
maximum length of each line.
Then, you would have to override the Text and the Lines property on the
TextBox so that you can check the lengths of the lines and the number of
lines themselves.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.