First of all I am completely new into both XAML and C#, so please forgive me for some stupid errors. An explanation is much more appreciated.
I've been struggling this last hours trying to figure out one of the simplest things: how to add text to a RichTextBlock when a button is pressed. I've tried some solutions that I found on Internet but none of them actually worked.
In particular it seems like there aren't the necessary references. For instance VS does not recognize the following code : Run myrun = new Run();
nor Paragraph mypar = new Paragraph();
or myrichtextblock.document
.
What am I missing?