每当我创建新的 WPF 应用程序或 WPF 用户控件库时,该AssemblyInfo.cs
文件都包含以下属性:
[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
属性有什么用?如果我删除它会破坏任何东西吗?