Set the listview's selectionmode to Multiple' or 'Extended and on the CheckBox_Checked event you can write the code to select the rows of listview.
Up vote 0 down vote favorite share g+ share fb share tw.
I am using a checkbox on expander. I want, when I check that checkbox ,it will select all rows of list view those are coming under that expander. Wpf listview checkbox link|improve this question edited Aug 16 '11 at 12:18Dan Puzey6,754719 asked Aug 16 '11 at 12:11Manvindar Singh6.
Set the listview's selectionmode to Multiple' or 'Extended and on the CheckBox_Checked event you can write the code to select the rows of listview private void CheckBox_Checked(object sender, RoutedEventArgs e) { listview1.SelectAll(); }.
Try this inside your checkbox_click events handler: listView1.BeginUpdate(); foreach (ListViewItem I in listView1. Items) { i. Selected = true; } listView1.EndUpdate(); Which gives you a bit more flexibility.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.