<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tkyjhr</author_name>
  <author_url>https://blog.hatena.ne.jp/tkyjhr/</author_url>
  <blog_title>i++</blog_title>
  <blog_url>https://increment.hatenablog.com/</blog_url>
  <categories>
    <anon>WPF/XAML</anon>
    <anon>C#</anon>
  </categories>
  <description>Window 起動時のフォーカス設定 XAML の Window タグの属性に FocusManager.FocusedElement=&quot;{Binding ElementName=(UI要素に x:Name で付けた名前)}&quot; をつけます。 &lt;Window x:Class=&quot;MyProject.MainWindow&quot; xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; Title=&quot;Window Title…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fincrement.hatenablog.com%2Fentry%2F2015%2F07%2F28%2F231445&quot; title=&quot;WPF/XAML : Window 起動時のフォーカスを設定する / コードからフォーカスを設定する - i++&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>2015-07-28 23:14:45</published>
  <title>WPF/XAML : Window 起動時のフォーカスを設定する / コードからフォーカスを設定する</title>
  <type>rich</type>
  <url>https://increment.hatenablog.com/entry/2015/07/28/231445</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
