每当我创建一个新的WPF应用程序或WPF用户控件库,该AssemblyInfo.cs
文件包括以下属性:什么是ThemeInfo属性?
[assembly: ThemeInfo(
ResourceDictionaryLocation.None,
//where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly
//where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
这是什么ThemeInfo
属性呢?如果我删除它,我会打破任何东西吗?
男人,我很高兴我偶然发现了这个!由于我构建了自定义BaseView,然后移动到另一个项目,因此我得到一个空白/黑色窗口。添加这个固定它! – Heliac 2013-07-29 10:18:24