Skip to content

'MakViewModelBaseCore' is the ViewModelBase available to create a system by using a WPF(.NET Core) MVVM pattern. ViewModelBase class of the base class, ValidationViewModelBase class can use the DataAnnotations data validation attributes, TransitionViewModelBase class can do view transition window or multiple Windows.

License

MakMokMak/MakViewModelBaseCore

Repository files navigation

MakViewModelBaseCore

What's it

'MakViewModelBaseCore' is the ViewModelBase available to create a system by using a WPF(.NET Core) MVVM pattern. ViewModelBase class of the base class, ValidationViewModelBase class can use the DataAnnotations data validation attributes, TransitionViewModelBase class can do view transition window or multiple Windows.

概略

WPF(.NET Core) を利用した MVVM なシステム作成に利用できる ViewModelBase です。ViewModelBase と DataAnnotations のデータ検証アトリビュートを利用できる ValidationViewModelBase とウィンドウの遷移や複数ウィンドウの表示を行うことができる TransitionViewModelBase があります。

利用環境

.NET Core 3.1 以上

ライセンス

MIT License

仕様

クラス等の仕様は、次のページに記載しています。

利用例

それぞれの ViewModelBase の利用例は、ソリューション中の次のプロジェクトをご覧ください。

  • ViewModelBase: ViewModelBaseTestApp
  • WeakEventViewModelBase: WeakEventViewModelBaseTestApp, AppSettingsSample
  • ValidationViewModelBase: ValidationTestApp
  • TransitionViewModelBase: TransitionTestApp, AppSettingsSample

プロジェクトへの導入

NuGet Package をご利用ください。

更新履歴

blog をご覧ください

About

'MakViewModelBaseCore' is the ViewModelBase available to create a system by using a WPF(.NET Core) MVVM pattern. ViewModelBase class of the base class, ValidationViewModelBase class can use the DataAnnotations data validation attributes, TransitionViewModelBase class can do view transition window or multiple Windows.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages