-
June 12th, 2013, 04:40 PM
#1
How to get object bound to DataGridRow in Xaml?
There is DataGrid with ItemsSource as ObservableCollection. ParticipantViewModel having property named ExpenseType, Currency etc. For some specific expense types participant can change currency and this can be determined from another property of ParticipantViewModel named IsCurrencyEnable. I bind IsCurrencyEnable with ComboBox IsEnabled property.
But it is searching for IsCurrencyEnable in the MainViewModel instead of ParticipantViewModel.
How can I bind IsEnabled property such a way that it get value from ParticipantViewModel?
Thanks.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|