/// <summary> /// Get all checked CheckBox controls in a container /// </summary> /// <param name="control"></param> /// <returns></returns> public static List <CheckBox> CheckBoxListChecked(this DependencyObject control) => control.CheckBoxList().Where(checkBox => checkBox.IsChecked == true).ToList();