Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dependency property - member not recognised or not accessible

I have created a UserControl and inside it defined a dependency property Label. When I refer it in a control I get the error the The member "Label" is not recognised or is not accessible. What I don't understand is that it works perfect on windows phone but after porting the app to windows 8 it gives this error. Is there something different to be done for windows 8 user controls? Please help.

like image 972
Milan Aggarwal Avatar asked Nov 21 '12 10:11

Milan Aggarwal


1 Answers

According to http://leventoz.wordpress.com/2012/03/11/moving-a-windows-phone-app-to-windows-8-a-case-study-part-2/

I just closed my .xaml file and the error went away. Bug with Visual Studio it says. But its not confirmed. Still it works for me.

like image 67
Milan Aggarwal Avatar answered Sep 22 '22 12:09

Milan Aggarwal