If I use a regular MS Text box I can use textbox.lines.count() but this is invalid when using either of the Telerik textbox controls.
Is there a way to get the Number of Lines of a Textbox or TextboxControl?
Sample Code used with MS TextBox control
var lines = txtEQCodes.Lines.Count();
lines -= String.IsNullOrWhiteSpace(txtEQCodes.Lines.Last()) ? 1 : 0;
This code does not work with Telerik textbox Controls.
I get compile errors on the Lines.Count() and Lines.Last() properties.
I am using telerik winforms.ui version 2021.2.615.40
Thanks,
Roger