A property to handle that would be very convenient. This way developers could be able to restrict the number of rows that the user can type. Something like MaxRowNumber. Additionally, a property MaxColumnNumber would be also useful to restrict the length of each row.
Really it will be great feature, if you can implement this functionality, controlling the lines nos and each line by character.