title: Is there a way to iterate in a ListBox Items templates?
body: <p>I have a list box that contains items that are represented by a single textbox.</p>
  
  <p>When the user clicks a button, I want to iterate thru all these text boxes and check if their binding expressions are clean of errors;
  Should be something like:</p>
  
  <pre><code>    Dim errCount = 0
      For Each item In MyListBox.ListBoxItems 'There is no such thing ListBoxItems which is actually what I am looking for.
          Dim tb As TextBox = item '.........Dig in item to extract the textbox from the visual tree.
          errCount += tb.GetBindingExpression(TextBox.TextProperty).HasError
      Next
      If errCount Then
          'Errors found!
      End If
  </code></pre>
  
  <p>Any discussion would be really appreciated.
  Thanks.</p>