<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k_shima07_win</author_name>
  <author_url>https://blog.hatena.ne.jp/k_shima07_win/</author_url>
  <blog_title>k.shima07のWindowsストアアプリ開発ブログ</blog_title>
  <blog_url>https://k-shima07-win.hateblo.jp/</blog_url>
  <categories>
    <anon>Windows8</anon>
    <anon>解決方法(C#+XAML)</anon>
    <anon>Windows ストアアプリ</anon>
  </categories>
  <description>とりあえず、解決した手順とコードを。1.xamlでx:NameをFocusしたいものに設定する。2.設定したもの.Focus(FocusState.Programmatic); 例えば、&lt;Button x:Name=&quot;search&quot; Content=&quot;検索&quot; FontSize=&quot;32&quot; Width=&quot;150&quot; Click=&quot;Button_Click_1&quot; /&gt;これにfocusしたいなら、search.Focus(FocusState.Programmatic);</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-shima07-win.hateblo.jp%2Fentry%2F2013%2F03%2F28%2F213439&quot; title=&quot;C# Windows ストア アプリ Focus/Select よくわからないよという人のためのメモ - k.shima07のWindowsストアアプリ開発ブログ&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>2013-03-28 21:34:39</published>
  <title>C# Windows ストア アプリ Focus/Select よくわからないよという人のためのメモ</title>
  <type>rich</type>
  <url>https://k-shima07-win.hateblo.jp/entry/2013/03/28/213439</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
