每當我創建一個新的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