Hey guys,
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
Hey guys,
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
You need to either
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.