title: Get Contents of a UserControl inside a StackPanel
body: <p>I have a <code>StackPanel</code> inside a WPF page, and I am loading the same UserControl inside it depending on the user requests.  Now for each of these UserControls, I need to get the items which are inside it.  The UserControl consists of a Calendar, and 3 comboboxes.  How can I get the items?</p>
  
  <p>So far I have the following:-</p>
  
  <pre><code>foreach (UserControl child in stk.Children)
  {
  
  }
  </code></pre>
  
  <p>and child has the contents required, however I cannot find out how to get the contents of every child to validate and store in the database.  I tried child.FindControl("combobox1") but that did not work.</p>
  
  <p>Thanks for your help and time</p>