I suppose it would be enough to pass the underlying data context to the command? This means that you can use the sender of the DataContext in the Executed handler or set CommandParameter={Binding} in xaml.
If you see that you cannot bind CommandParameter to one object - this may be due to poor design.
source share