title: Generic method to find all TextBox controls in Silverlight
body: <p>I have several Silverlight controls on a page and want query all the controls that are of type TextBox and have that working.</p>
  
  <p>Now the Silverlight form I'm working on <em>could</em> have more TextBox controls added.  So when I test to see if a TextBox control has a value, I could do:</p>
  
  <pre><code>if (this.TextBox.Control.value.Text() != String.Empty)
  {
      // do whatever
  }
  </code></pre>
  
  <p>but I'd rather have if flexible that I can use this on ANY Silverlight form regardless of the number of TextBox controls I have. </p>
  
  <p>Any ideas on how I would go about doing that?</p>