{"title":"C#, XAML: Windows 10 \u306e Ligth/Dark \u30c6\u30fc\u30de\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u3066\u305d\u308c\u3063\u307d\u3044\u30c6\u30fc\u30de\u3092\u63a1\u7528\u3059\u308b\u30a2\u30d7\u30ea\u306b\u3059\u308b\u65b9\u6cd5","version":"1.0","provider_name":"Hatena Blog","url":"https://usagi.hatenablog.jp/entry/2019/01/17/055050","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fusagi.hatenablog.jp%2Fentry%2F2019%2F01%2F17%2F055050\" title=\"C#, XAML: Windows 10 \u306e Ligth/Dark \u30c6\u30fc\u30de\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u3066\u305d\u308c\u3063\u307d\u3044\u30c6\u30fc\u30de\u3092\u63a1\u7528\u3059\u308b\u30a2\u30d7\u30ea\u306b\u3059\u308b\u65b9\u6cd5 - C++ \u3068\u304d\u3069\u304d \u3054\u306f\u3093\u3001\u308f\u308a\u3068\u3066\u3043\u30fc\u3076\u308c\u3044\u304f\u2606\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"C++ \u3068\u304d\u3069\u304d \u3054\u306f\u3093\u3001\u308f\u308a\u3068\u3066\u3043\u30fc\u3076\u308c\u3044\u304f\u2606","author_url":"https://blog.hatena.ne.jp/USAGI-WRP/","type":"rich","categories":["C#","XAML","Theme","Windows 10","Light","Dark"],"blog_url":"https://usagi.hatenablog.jp/","published":"2019-01-17 05:50:50","image_url":null,"width":"100%","height":"190","author_name":"USAGI-WRP","description":"// Windows \u306e\u30c6\u30fc\u30de\u304c Light \u304b Dark \u304b\u53d6\u5f97\u3059\u308b\u30d8\u30eb\u30d1\u30fc using Microsoft.Win32; namespace usagi.example { static public class ThemeHelper { const string WindowsThemeRegistryKeyPath = @\"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize\"; const string WindowsThemeRegistryValueName = \"AppsUseLightTheme\"; pub\u2026"}