Am Using the checkbox in listbox items, how to get the selected checkboxes from the list
I would suggest this code:
private void save_Click(object sender, RoutedEventArgs e) { foreach (CheckBox item in list1.Items) { if (item.IsChecked) { MessageBox.Show(item.Content.ToString()); } } }