5
esiste un equivalente a .Lines di winForms in WPF?RichTextBox in WPF non ha una proprietà come .Lines?
sto usando questo momento:
var textRange = new TextRange(TextInput.Document.ContentStart, TextInput.Document.ContentEnd);
string[] lines = textRange.Text.Split('\n');