How do I reference a type from a XAML style or template? The WPF syntax does not work in my Windows Store project.
The IDE barks at me with “Type is not supported in a Windows App project”.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the following syntax:
That is, you do not need to use the {x:Type } syntax in Windows Store and Phone apps.
MSDN says:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.style.targettype