Using the code snippets

This part of the documentation explains all the code snippets.

Code snippetExplanation
modelobjectDefines a model using the ModelBase class.
modelpropDefines a new property on a model class.
modelpropchangedDefines a new property with change notification on a model class.
vmDefines a new view model.
vmcommandDefines a new view model command with only an executed action.
vmcommandwithcanexecuteDefines a new view model command with an executed action, but also a canexecute function.
vmpropDefines a new property on a view model.
vmpropmodelDefines a new property on a view model and decorates it with the ModelAttribute.
vmpropviewmodeltomodelDefines a new property on a view model and decorates it with the ViewModelToModelAttribute.

Contributions

We would like to thank the following contributors:

Want to contribute to the documentation? We have a guide for that!


Questions

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion