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.
Title says it all really. The current functionality is clunky and doesn't persist and it should.