WPF绑定资源文件错误(error in binding resource string with a view in wpf)
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                WPF绑定资源文件错误(error in binding resource string with a view in wpf)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                報錯:無法將“***Properties.Resources.***”StaticExtension 值解析為枚舉、靜態字段或靜態屬性
?
解決辦法:嘗試右鍵單擊在Visual Studio解決方案資源管理器的資源文件,并選擇屬性選項,然后設置自定義工具屬性 PublicResXFile codeGenerator
? ?? ? ? ? ?
? ? ? ? ? ? ? ? ? ?報錯時? ? ? ? ?
?
???
? ?修正后(多加Public)
?
轉載于:https://www.cnblogs.com/LeeMacrofeng/p/9072878.html
總結
以上是生活随笔為你收集整理的WPF绑定资源文件错误(error in binding resource string with a view in wpf)的全部內容,希望文章能夠幫你解決所遇到的問題。
                            
                        - 上一篇: 成都欢乐谷比较刺激的项目
 - 下一篇: 极米科技算小厂还是大厂