Visual Basic (Declaration) | |
---|---|
Public Sub ChangeModel( _ ByVal e As ModelChangedEventArgs, _ ByVal undo As Boolean _ ) |
C# | |
---|---|
public void ChangeModel( ModelChangedEventArgs e, bool undo ) |
Parameters
- e
- an edit describing the change to be performed
- undo
- true if undoing; false if redoing
When e's Northwoods.GoXam.Model.ModelChangedEventArgs.Change value is Northwoods.GoXam.Model.ModelChange.Property, this calls ChangeModelValue if the ModelChangedEventArgs.Data is this model, or else it calls ChangeDataValue.
This method handles all other Northwoods.GoXam.Model.ModelChange cases, since they are all predefined.