Textbox Multiline


is there any way for limit the numbers of rows in a textbox multiline?

For example I want only 3 lines to be allowed.


Quite sure there’s no way out of the box.
You need to handle the events yourself.

I was thinking that, I cant found any MaxLines or similar property