Northwoods.GoSilverlight 1.3.5 Assembly
ChangeModel Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > DiagramModel Class : ChangeModel Method

e
an edit describing the change to be performed
undo
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

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

Remarks

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.

Requirements

See Also

© 2012 All Rights Reserved.