Reputation: 13092
I have wpf datagrid, in one of columns, I checkboxes added in it, now the problem is how do I get "IsChecked" propoerties of it ?
Note: I have not bind that column to any datacontext, and its a Template Column
Thanks
Upvotes: 1
Views: 676
Reputation: 50028
It depends on how you use the DataGrid. In a proper MVVM pattern of databinding, you might have already bind a bool property of a class to the checkbox and whenever the checkbox changes its value you will get the property change notification in your ViewModel class.
Upvotes: 1
Reputation: 70983
You need to either
Upvotes: 0