<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kowill</author_name>
  <author_url>https://blog.hatena.ne.jp/kowill/</author_url>
  <blog_title>ぽにょろん</blog_title>
  <blog_url>https://ponyoth.hateblo.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>WPF</anon>
  </categories>
  <description>目次 目次 環境 実現したいこと 実装の方針 実装 Converter VMとEnum View 環境 C# + WPF .NET Framwork4.5.2 実現したいこと RadioButtonにViewModelのプロパティ値(Enum)をBindする。 実装の方針 各RadioButtonのIsCheckedにEmun値をバインドさせる。 Converterを用意して、Bool値に変換する。 実装 Converter 検索すると色々な方法があるみたいですが、簡単にこんな感じで作ってみました。 [ValueConversion(typeof(Enum), typeof(bool))] p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fponyoth.hateblo.jp%2Fentry%2F2016%2F07%2F26%2F173603&quot; title=&quot;WPFでRadioButtonにEnumをBindする - ぽにょろん&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>2016-07-26 17:36:03</published>
  <title>WPFでRadioButtonにEnumをBindする</title>
  <type>rich</type>
  <url>https://ponyoth.hateblo.jp/entry/2016/07/26/173603</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
