As you may have guessed I'm a noob. I noticed that, when trying to make a windows phone app with VS express for windows phone, I can quickly run into problem if I:
- Add a text block in xaml
- Add Click="thing" in the markup for the textblock
- Declare
private void thing(object sender, MouseButtonEventArgs e) { return; }
in the code behind
VS doesn't let me compile because The property 'Click' does not exist in type 'TextBlock' in the xml namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
I know this forum is normally not for such basic things, but I really don't understand how can I mess it up by just adding these two things. Thanks in advance