Binding the Content property of a ContentControl in WinRT

后端 未结 2 564
萌比男神i
萌比男神i 2020-12-19 05:41

Let\'s say I have a Windows Store app (targeting Windows 8.1), and on a page there\'s a ContentControl that looks like this:


  

        
2条回答
  •  感情败类
    2020-12-19 06:23

    My assumption is that you are using Visual Studio 2012. There were other such errors in 2012 that were resolved in Visual Studio 2013. Your code, which is perfect, works fine in Visual Studio 2013.

    enter image description here

    Best of luck!

提交回复
热议问题