WPF with Material Design use Theme and Accent Palette to change in runtime.
How can I save it in Settings like LEFT,TOP, HEIGHT, WIDTH and Culture.
Thanks for help
Rudolf
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Akhil GargRank #772 · 3K reputationPosted Feb 2, 2016, 9:37 AM EST
Rudolf Terppe76 reputationPosted Feb 2, 2016, 11:18 PM EST
Rudolf Terppe76 reputationPosted Feb 4, 2016, 7:35 AM EST
private static void ApplyBase(bool isDark) { new PaletteHelper().SetLightDark(isDark); Settings.Default.Theme1 = !isDark ? "Light" : "Dark"; }Akhil GargRank #772 · 3K reputationPosted Feb 5, 2016, 1:56 AM EST