I have the need to set a binding in code.
I can\'t seem to get it right tho.
This is what i have tried:
XAML:
You need to change source to viewmodel object:
myBinding.Source = viewModelObject;