GoXam for WPF v3
ChangeModel Method (DiagramModel)
Northwoods.GoXam.Model Namespace > DiagramModel Class : ChangeModel Method
an edit describing the change to be performed
true if undoing; false if redoing
This is called during an Undo or a Redo to actually make state changes to this model or to this model's data.
Syntax
public void ChangeModel( 
   ModelChangedEventArgs e,
   bool undo
)

Parameters

e
an edit describing the change to be performed
undo
true if undoing; false if redoing
Remarks

When e's ModelChangedEventArgs.Change value is ModelChange.Property, this calls ChangeModelValue if the ModelChangedEventArgs.Data is this model, or else it calls ChangeDataValue.

This method handles all other ModelChange cases, since they are all predefined.

See Also

Reference

DiagramModel Class
DiagramModel Members