searching and listing WPF resource dictionaries in a folder

前端 未结 3 747
失恋的感觉
失恋的感觉 2021-01-19 07:10

I\'m making a WPF application that is going to have multiple skins branded in by our build system. Ideally we would like the application to list off the skins available as

3条回答
  •  耶瑟儿~
    2021-01-19 07:41

    You can add ResourceDictionary at runtime.

    Resources.MergedDictionaries.Add(...)
    

提交回复
热议问题