i have a wpf DataGrid with one CheckBox Column….
Then How to get RowIndex of a wpf datagrid when i Checked or Unchecked CheckBox of WPF DataGrid Column…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually you don’t need row index. What you really need is changing your bound item. According to your previous question, you are trying to change properties of items, assigned to grid. You don’t have to do that manually. If you have class
And you assign list of forms to
DataGrid:or from code
Then properties of bound
UserFormobject will be updated when you check/uncheck checkboxes in Visibility column of grid.