<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bookreadkun</author_name>
  <author_url>https://blog.hatena.ne.jp/bookreadkun/</author_url>
  <blog_title>おーみんブログ</blog_title>
  <blog_url>https://oooomincrypto.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>はじめに WPFでボタンの活性/非活性を制御する方法を備忘録として残したいと思います。 前提 今回の記事はPrismを用いていることが前提となります。 ボタン生成 まずはボタンを生成します。 &lt;Button Margin=&quot;10&quot; Height=&quot;20&quot; Width=&quot;65&quot; Content=&quot;登録&quot; Command=&quot;{Binding SubmitButton}&quot; /&gt; SubmitButtonをViewModel側へバインドしています。 ViewModelにてSubmitButtonを定義 バインドしたSubmitButtonをViewModel側で定義します。 コンストラクタにて初期値を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foooomincrypto.hatenadiary.jp%2Fentry%2F2022%2F06%2F26%2F105658&quot; title=&quot;【WPF】ボタンの活性/非活性を制御する！ - おーみんブログ&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>2022-06-26 10:56:58</published>
  <title>【WPF】ボタンの活性/非活性を制御する！</title>
  <type>rich</type>
  <url>https://oooomincrypto.hatenadiary.jp/entry/2022/06/26/105658</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
