WCT MVVM Samples Index

Overview

WCT MVVM Toolkit (Microsoft.Toolkit.Mvvm) WPF Samples.

Repository List

Repository Description Keywords
MVVMSample001

Calculator application.

When you press a button, the calculation result is displayed.

  • ObservableObject
  • RelayCommand
MVVMSample002

A sample of asynchronous processing using AsyncRelayCommand.

When the button is pressed, it will be in processing for a while.

  • ObservableObject
  • AsyncRelayCommand
MVVMSample003

Sample of sending a string using WeakReferenceMessenger.

  • ObservableObject
  • RelayCommand
  • WeakReferenceMessenger
MVVMSample004

Sample of sending an arbitrary class using WeakReferenceMessenger.

  • ObservableObject
  • RelayCommand
  • WeakReferenceMessenger
MVVMSample005

Sample of sending a message using ObservableRecipient and omitting the WeakReferenceMessenger registration process.

  • IRecipient
  • ObservableRecipient
  • RelayCommand
  • WeakReferenceMessenger
MVVMSample006

Applications that show progress.

Execution and cancellation of asynchronous processing.

  • ObservableObject
  • AsyncRelayCommand
  • CancellationTokenSource
  • Progress
MVVMSample007

Applications that show progress.

The difference from MVVMSample006 is that CancellationTokenSource is kept inside HeavyWorkModel.

  • ObservableObject
  • AsyncRelayCommand
  • CancellationTokenSource
  • Progress
MVVMSample008

Validation sample.

Required check and length check are set in the top TextBox.

  • ObservableValidator
MVVMSample009

Dependency injection sample.

  • Ioc
  • ServiceCollection
MVVMSample010

Event processing sample.

A screen that cannot be closed while the checkbox is checked.

  • RelayCommand<T>
  • Window.Loaded Event
  • Window.Closing Event
MVVMSample011

Sample of page transition.

The last page displays the setting values of the previous page.

  • ObservableObject
  • RelayCommand

Link

🌐ζ—₯本θͺžγƒšγƒΌγ‚Έ(Japanese page)