I have a I think very simple question but I cant find any solution for it. Its about binding other properties, besides the DataMemberBinding to the current item.
The scenario is as follows, I have a data object which is setup as follows:
In my main viewmodel I have the following:
Now I want to bind my view to this collection, I have the following XAML:
The Name property of the EmployeeData object is correctly bind to the current item of the row, but the IsReadOnly property binding is looking for a ViewState object in my main viewmodel!
How can I set the datacontext for this property the same as with the DataMemberBinding?