Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a quick introduction for developers who don't have a lot of time to read all the docs. This document contains the absolute basics of what a developer needs to know.

...

It goes even further. Catel can create view models based on the data context. For more information, read nested user controls.

 

 .

Handling hierarchy and parent/child view models

Note that Catel is already fully aware of parent/child relations of view models so you don’t have to do anything for this yourself. For more information, read nested user controls.

Communication between view models

There are several methods available to communicate between view models. Just make sure that you never directly reference other view model and keep everything loosely coupled.

Resolving views and view models

Catel resolves views and view models by naming convention. This means that based on the name of a view, the view model can be determined. This also works the other way around where the view model can be determined based on the view. For more information, read about naming conventions.