Good morning, I have some problems with this class.
I have a object (object1) and this one object has a list of objects (objectList).
When I set ((IEditableObject) object1).BeginEdit in the viewmodel and later I open a usercontrol, in this usercontrol I add a element to objectList.
Later I press the Cancel button and in viewmodel I set ((IEditableObject) object1).CancelEdit but the objectList doesn't cancel.
Is there a way for this to work?
Thanks
I have a object (object1) and this one object has a list of objects (objectList).
When I set ((IEditableObject) object1).BeginEdit in the viewmodel and later I open a usercontrol, in this usercontrol I add a element to objectList.
Later I press the Cancel button and in viewmodel I set ((IEditableObject) object1).CancelEdit but the objectList doesn't cancel.
Is there a way for this to work?
Thanks