Skip to content

YouseiSakusen/WpfGettingStarted2020

Repository files navigation

WpfGettingStarted2020

.NET Core WPF Prism MVVM 入門 2020 年度版

01_Step02

step: 2 MVVM フレームワーク充のススメ】で紹介している WPF の標準機能だけでデータバインディングするサンプル。

02_Step03_PrismSample

step: 3 Prism はじめました】で紹介している PrismApplication のメソッドをオーバーライドしたサンプル。

03_Step04

step: 4 Prism の DI コンテナらは Ioc 上に歌う】で紹介している Prism の DIコンテナを利用するサンプル。 加えて、IContainerProvider をインジェクションするサンプルも追加。

04_Step05

step: 5 Prism の Region に部分 View がいます。】で紹介している Prism の Region へ部分 View を表示する方法と Shell や部分 View の VM を破棄するサンプル。

05_Step06

step: 6 Prism に Model ⇔ VM の双方向バインドは難しい】で紹介している Prism の MVVM サポートクラス群を利用して View ⇔ ViewModel 間 Model ⇔ ViewModel 間をデータバインディングするためのサンプル。

06_Step07

step: 7 ReactiveProperty を編む】で紹介している ReactiveProperty で View ⇔ ViewModel 間 Model ⇔ ViewModel 間を双方向でバインドするサンプル。

07_Step08

【step: 8 Model のインタフェースの上に ReactiveCommand は立っている】で紹介している ReactiveProperty で View ⇔ ViewModel 間 Model ⇔ ViewModel 間を双方向でバインドした VM から呼び出す Model のインタフェースサンプル。
AutoMapper で ReactiveProperty にマッピング】で紹介した AutoMapper で ReactiveProperty 型のプロパティにマッピングするカスタム型コンバータ等のサンプルも同じソリューションに含めています。

08_Step09

【step: 9 ReactiveCollection 世代の ListBox 達】で紹介している ListBox と ReactiveCollection を MVVM パターンでバインドするサンプル。
今回からソリューションを .NET 5 で構成しています。

09_Step10

【step: 10 Enum と ListBox は使いよう】で紹介している Enum 型を ListBox に表示する ObjectDataProvider やマークアップ拡張のサンプル。

Releases

No releases published

Packages

No packages published

Languages