This project has moved. For the latest updates, please go here.

BaseClass Element

The BaseClass element contains the information about the class that is used as the base class of the generated ViewModel class.

Format

<BaseClass name="..." implementsINotifyPropertyChanged="...">
<GenericParameters>
...
</GenericParameters>
</BaseClass>

Attributes

Name Type Required Description
name string yes The name (including the namespace) of the class from which the ViewModel class will be derived
implementsINotifyPropertyChanged boolean no When set to true the generated ViewModel class will assume the base class to implement the INotifyPropertyChanged interface and provide the OnPropertyChanged(string propertyName) method. When false an implementation of the INotifyPropertyChanged interface will be added to the ViewModel class

Child Elements

Name Multiplicity Description
GenericParameters 0..1 A collection of GenericParameter elements that define the parameters of a generic base class.


Last edited Jun 8, 2010 at 8:05 AM by Erno_de_Weerd, version 3

Comments

No comments yet.