title: Public class modifier for WPF control
body: <p>I'm creating Windows application and Class library. Class library contains WPF control named "InsertForm.xaml"</p>
  
  <p>InsertForm contains TextBox named eUserName. </p>
  
  <p>I'm using the following code to show InsertForm. That's successful. But I can't access eUserName. How to set Textbox modifiers to public?</p>
  
  <p><code>using System.Windows.Forms.Integration</code></p>
  
  <pre><code>ElementHost host = new ElementHost();
  iform= new Extender.InsertForm();
  host.Child = iform;
  this.Controls.Add(host);
  </code></pre>