<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>redwarrior</author_name>
  <author_url>https://blog.hatena.ne.jp/redwarrior/</author_url>
  <blog_title>redwarrior’s diary</blog_title>
  <blog_url>https://redwarrior.hateblo.jp/</blog_url>
  <categories>
    <anon>.NET Framework</anon>
    <anon>WPF</anon>
    <anon>MVVM</anon>
    <anon>.NET Core</anon>
  </categories>
  <description>WPFアプリケーションで、自作のボタンを押して画面を閉じて、新しい画面を表示する処理をMVVMフレームワークを使用して実装する方法を調べました。 MVVMフレームワークは、Prismを使用します。 自作のボタンを押して画面を閉じる 自作のボタンを押して画面を閉じるやり方です。これは、以下で紹介されているCommandParameter属性を使用する方法にしました。WindowクラスをViewModelが参照するので、若干気になる部分ではありますが、引数なので良しとし、コードビハインドを使用しないという方向で決めました。 c# - Close Window from ViewModel - St…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fredwarrior.hateblo.jp%2Fentry%2F2020%2F08%2F31%2F090000&quot; title=&quot; WPFアプリのWindowの閉じる・開くを、MVVMフレームワークを使用して実装する  - redwarrior’s diary&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>2020-08-31 09:00:00</published>
  <title> WPFアプリのWindowの閉じる・開くを、MVVMフレームワークを使用して実装する </title>
  <type>rich</type>
  <url>https://redwarrior.hateblo.jp/entry/2020/08/31/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
