concept edit in category silverlight

appears as: edits, edit, edit
Silverlight 4 in Action: Silverlight 4, MVVM, and WCF RIA Services

This is an excerpt from Manning's book Silverlight 4 in Action: Silverlight 4, MVVM, and WCF RIA Services.

Figure 11.1. A conceptual view of data binding. The source owns the data; the target operates on (displays, edits, and so forth) the data.
Table 12.8. IEditableObject interface

Template property

Description

BeginEdit Called when the object is put into the edit mode This is where you may want to cache undo information. If the DataForm’s AutoEdit property is set to true, this is called as soon as an edit field receives focus. Otherwise, it’s called as a result of the user clicking the edit button on the toolbar.
CancelEdit Called when the object was previously in the edit mode but now is to be put back into the read-only mode, reverting any changes On the DataForm, this is called when the user clicks the Cancel button.
EndEdit Called when the edit is complete and the changes should be committed If the DataForm’s AutoCommit property is set to true, this will happen when the user navigates off the item and the item is both dirty and valid.