How to read from TextBox LineByLine

BitSmithy 1,951 Reputation points

I have a TextBox with AcceptsReturn="True"

Now I want to read from it line by line
I tried code:

        string[] modelLines;  
        modelLines = ModelTextBox.Text.Split('\n');  

But it doesnt work, how to read from TextBox line by line?

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful