I have a celledittemplate with a button inside that template, bound with command and command parameter.
When i enter the cell in edit mode it initializes the command but it is missing it's datacontext.
I found out that when i retrigger my command's RaiseCanExecuteChanged on the PreparedCellForEdit the datacontext is known.
So i was wondering if the datacontext is being set to late on the celledittemplate.
I would find it rather stupid to have to use the PreparedCellForEdit event everytime i need this behaviour