Hi,
It is safe to change your DataTemplates.
The ActualContent property was an internal property and is gone for good. It was given to some customers like yourself to work around the Cell .Content property always being equal to the value at the start of the edit process.
It was one of our objective for version 3.0 to get rid of ActualContent and make the Cell's Content property "live" with the business object.
Let me show you some scenarios so that everything is clear...
Let's take for granted that your DataGridControl's UpdateSourceTrigger property (which drives when the cells Content is pushed in the business object) is set to DataGridUpdateSourceTrigger.RowEndingEdit.
You enter edit on a row where a "Quantity" cell has a value of 20.
You edit the value of the "Quantity" cell to 30 and do not leave edit... the Cell's .Content is now equal to 30 and the business object's Quantity is still 20.
You end edit on the row... now both the cell's content and the business object "Quantity" are 30.
Now, if your DataGridControl's UpdateSourceTrigger was set to DataGridUpdateSourceTrigger.CellContentChanged, the cell's content is pushed into the business object as soon as it changes... let's have a look at the same scenario with this DataGridUpdateSourceTrigger....
You enter edit on a row where a "Quantity" cell has a value of 20.
You edit the value of the "Quantity" cell to 30... as you type '3', both the Cell's Content and the business object's 'Quantity' are now set to 3... you finish typing the new value with a 0... now both the Cell's Content and the business object's 'Quantity' are set to 30.
This leaves us with the DataGridUpdatesourceTrigger.CellEndingEdit... As I am sure you understand by its name, this makes the DataGridControl push the cell's content to the business object when the cell ends the edit process even if the row is still being edited.
You enter edit on a row where a "Quantity" cell has a value of 20.
You edit the value of the "Quantity" cell to 30 and do not leave edit... the Cell's .Content is now equal to 30 and the business object's Quantity is still 20.
Without leaving edit on the row, you move to a different cell... now both the cell's content and the business object "Quantity" are 30.
Regards,
Pierre-Luc Ledoux
Software Developer
Xceed Software Inc.