I\'m creating a wpf user control which is in mvvm pattern. So we have : view(with no code in codebehind file), viewmodel,model,dataaccess files.
I have MainWindo
We can use ObjectDataProvider to call a method inside an object ..as follows :
Is there anyway to do the same using DataTemplate