<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>okazuki</author_name>
  <author_url>https://blog.hatena.ne.jp/okazuki/</author_url>
  <blog_title>かずきのBlog@hatena</blog_title>
  <blog_url>https://okazuki.hatenablog.com/</blog_url>
  <categories>
    <anon>WPF</anon>
    <anon>XAML</anon>
  </categories>
  <description>WPFでint型をバインドしたTextBoxとかって入力エラーがあると赤色枠がついていい感じにしてくれますよね。ただしViewModelからは、そのエラーは検知できない。 でも、ボタンは押せないようにしたい。そんなときは、こんなXAMLで実現できます。 &lt;Window x:Class=&quot;WpfApplication12.MainWindow&quot; xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; xmlns:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokazuki.hatenablog.com%2Fentry%2F2016%2F07%2F16%2F141346&quot; title=&quot;WPFでTextBoxに入力エラーがないときだけ押せるボタンをXAMLで実現したい - かずきのBlog@hatena&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-16 14:13:46</published>
  <title>WPFでTextBoxに入力エラーがないときだけ押せるボタンをXAMLで実現したい</title>
  <type>rich</type>
  <url>https://okazuki.hatenablog.com/entry/2016/07/16/141346</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
