Свойство | Тип | Описание | |
---|---|---|---|
CustomErrorProperty | PropertyData | ||
GenderProperty | PropertyData | ||
LastNameProperty | PropertyData | ||
PersonProperty | PropertyData |
Свойство | Тип | Описание | |
---|---|---|---|
OnGenerateDataCanExecute | bool | ||
OnGenerateDataExecute | void | ||
OnToggleCustomErrorExecute | void |
Метод | Описание | |
---|---|---|
PersonViewModel ( Person person ) : System.Collections.Generic |
Initializes a new instance of the PersonViewModel class.
|
Метод | Описание | |
---|---|---|
ValidateFields ( List |
Validates the field values of this object. Override this method to enable validation of field values.
|
Метод | Описание | |
---|---|---|
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. |
Результат | System.Collections.Generic |
protected ValidateFields ( List |
||
validationResults | List |
The validation results, add additional results to this list. |
Результат | void |
public static PropertyData CustomErrorProperty | ||
Результат | PropertyData |
public static PropertyData GenderProperty | ||
Результат | PropertyData |
public static PropertyData LastNameProperty | ||
Результат | PropertyData |