<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>imanyu</author_name>
  <author_url>https://blog.hatena.ne.jp/imanyu/</author_url>
  <blog_title>いまにゅー開発日記</blog_title>
  <blog_url>https://imanyu.hatenadiary.org/</blog_url>
  <categories>
    <anon>Windows ストアアプリ</anon>
    <anon>Windows Store App</anon>
  </categories>
  <description>こんにちは お久しぶりです 開発はしていたのですが，記事にまとめるのがとても苦手ないまにゅーです． そこで，記事というよりかは，「今日のコード」みたいな感じでこれからは更新頻度も上げていきたいと思います． さて今回は，「ボタンを押した時に，スタイルを別のスタイルに変更する」方法です． private void _Button_Click(object sender, RoutedEventArgs e) { Button tmp = sender as Button; tmp.Style = Resources[&quot;スタイル名&quot;] as Style; } このように，Resources[&quot;スタイ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fimanyu.hatenadiary.org%2Fentry%2F20130329%2F1364537016&quot; title=&quot;コードからObjectのStyleを変更する - いまにゅー開発日記&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-29 15:03:36</published>
  <title>コードからObjectのStyleを変更する</title>
  <type>rich</type>
  <url>https://imanyu.hatenadiary.org/entry/20130329/1364537016</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
