Gets the total number of lines in the text box.
Assembly: PresentationFramework (in PresentationFramework.dll)
If text wrapping is enabled, changing the width of the text box may change this value.
The value returned is the total number of lines in the text box, regardless of how many are currently visible.
Available since 3.0