I've got a label in my MainPage.xml with the name 'txtInhoud', but when I try to set the text of it in my MainPage.xml.cs, I get the error that the name doesn't exist in the current context.
I've tried rebuilding the project and deleting the bin and obj files, but that didn't work.
Any help?
Answers
Did you put the InitializeComponent(); method in your MainPage.xaml.cs constructor?