Property | Type | Description | |
---|---|---|---|
CustomErrorProperty | PropertyData | ||
GenderProperty | PropertyData | ||
LastNameProperty | PropertyData | ||
PersonProperty | PropertyData |
Property | Type | Description | |
---|---|---|---|
OnGenerateDataCanExecute | bool | ||
OnGenerateDataExecute | void | ||
OnToggleCustomErrorExecute | void |
Method | Description | |
---|---|---|
PersonViewModel ( Person person ) : System.Collections.Generic |
Initializes a new instance of the PersonViewModel class.
|
Method | Description | |
---|---|---|
ValidateFields ( List |
Validates the field values of this object. Override this method to enable validation of field values.
|
Method | Description | |
---|---|---|
OnGenerateDataCanExecute ( object parameter ) : bool |
Method to check whether the GenerateData command can be executed.
|
|
OnGenerateDataExecute ( object parameter ) : void |
Method to invoke when the GenerateData command is executed.
|
|
OnToggleCustomErrorExecute ( object parameter ) : void |
Method to invoke when the ToggleCustomError command is executed.
|
public PersonViewModel ( Person person ) : System.Collections.Generic | ||
person | Person | The person. |
return | System.Collections.Generic |
protected ValidateFields ( List |
||
validationResults | List |
The validation results, add additional results to this list. |
return | void |
public static PropertyData CustomErrorProperty | ||
return | PropertyData |
public static PropertyData GenderProperty | ||
return | PropertyData |
public static PropertyData LastNameProperty | ||
return | PropertyData |