title: C# WPF delete checked items in treeview
body: <p>If i have a treeview like this:</p>
  
  <p>Book<br/>
  &nbsp;&nbsp;&nbsp;-->items<br/>
  CD<br/>
  &nbsp;&nbsp;&nbsp;-->items</p>
  
  <p>and every item contains a checkbox, how can i remove all the selected checkboxes.</p>
  
  <p>Note: i don't use treenode.</p>
  
  <p>I have a treeview with 3 treeview items(i.e book,cd and dvd). Dynamically i create nodes:  </p>
  
  <pre><code>TreeViewItem newChild = new TreeViewItem();
  
   newChild.Header = cbox;
  </code></pre>
  
  <p>if for example 5 treeviewitems are checked(for remove) then i want to remove them.</p>