<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tera1707</author_name>
  <author_url>https://blog.hatena.ne.jp/tera1707/</author_url>
  <blog_title>tera1707’s blog</blog_title>
  <blog_url>https://tera1707.com/</blog_url>
  <categories>
    <anon>WPF</anon>
    <anon>C#</anon>
  </categories>
  <description>もくじ https://tera1707.com/entry/2022/02/06/144447 やりたいこと 下記の記事で、WinUI3で、Windowsのダークモード、ライトモード、ハイコントラストの対応を以前行った。 tera1707.com が、今回はWPFでも同じようなことをしたい。 ※なんとなく、WPFの方が古いから、その辺の仕組みが整備されてないんじゃないか？と心配。 とりあえず、まずはダークライト、ハイコントラストの現在値と、それぞれが変化したときを検出できるのか？を調べてみる。 やったこと 結果、そういうことはできた。下記のようにした。 こうやってとる（現在値） ダークライト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftera1707.com%2Fentry%2F2024%2F11%2F17%2F001758&quot; title=&quot; WPFでWindowsのダーク/ライトモード、ハイコントラストの状態と、状態変化時のイベントを取る - tera1707’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-11-17 00:17:58</published>
  <title> WPFでWindowsのダーク/ライトモード、ハイコントラストの状態と、状態変化時のイベントを取る</title>
  <type>rich</type>
  <url>https://tera1707.com/entry/2024/11/17/001758</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
