GoXam for WPF v3
FindPrimaryObject Method
Northwoods.GoXam.Model Namespace > UndoManager Class : FindPrimaryObject Method
an IUndoableEdit, usually either a ModelChangedEventArgs or a UndoManager.CompoundEdit
Given an IUndoableEdit return an edited object that represents what was modified.
Syntax
public virtual object FindPrimaryObject( 
   IUndoableEdit edit
)

Parameters

edit
an IUndoableEdit, usually either a ModelChangedEventArgs or a UndoManager.CompoundEdit

Return Value

typically a Northwoods.GoXam.Node or a Northwoods.GoXam.Link, but this may be null if there is no such object, perhaps because a model property was modified, or because there were no real edits in the argument edit.
See Also

Reference

UndoManager Class
UndoManager Members