You bind the ItemsSource to a ListBox , and the ListBox uses VirtualizingStackPanel as its ItemsPanel, so all ListBoxItem containers may or may not be generated at any given time.
Therefore, even if you are viewing Visual Tree, etc., to clear all CheckBox checkboxes, you cannot be sure that you have unchecked them all.
I suggest you bind IsChecked to a new property in the same class that you defined OperatorNum (which, by the look of your question, is probably Employee or similar). So all you have to do to uncheck the checkbox is to set IsChecked to False in the source class.
Also make sure you implement INotifyPropertyChanged
Xaml example
<CheckBox Grid.Column="0" Name="CheckBoxZone" Content="{Binding OperatorNum}" Tag="{Binding TheValue}" IsChecked="{Binding IsChecked}"/>
Employee
public class Employee : INotifyPropertyChanged { private bool m_isChecked; public bool IsChecked { get { return m_isChecked; } set { m_isChecked = value; OnPropertyChanged("IsChecked"); } }
source share