使用XAML DeferLoadStrategy ="懒惰"在桌面应用程序(而不是UWP)

时间:2017-05-17 13:05:27

标签: wpf xaml

使用x需要什么:DeferLoadStrategry =" Lazy"在XAML?所有文档都提到它是Windows 10"的新功能。但我还没有能够在我的WPF桌面应用程序中使用它。

当我尝试使用该属性时,我收到消息"未定义XAML命名空间中的属性DeferLoadStrategy。"此属性仅适用于UWP应用程序(不是桌面应用程序)吗?

1 个答案:

答案 0 :(得分:2)

x:DeferLoadStrategy在WPF中不可用。它只是一个UWP功能。