Loop through the second column of WPF ListView and retrieve value of ComboBox in each row
问题 I have a two-column ListView with CheckBoxes in the first column and ComboBoxes in the second column. I need to loop through the ComoboBoxes in the second column and retrieve the selected values (or indexes) from each ComboBox, along with some index or identifier of the ComboBox, and put the values in an array. For example, the layout looks like this: COLUMN 1 COLUMN 2 ======== ======== ChBx 1 Combo1 ChBx 2 Combo2 I need to grab the SelectedValue or SelectedIndex of each ComboBox in the