title: RichTextBox FormatBar in code behind
body: <p>Im looking at the codeplex WPF extended RTB and id like to perform the following in code behind:</p>
  
  <pre><code>&lt;RichTextBox&gt;
     &lt;toolkit:RichTextBoxFormatBarManager.FormatBar&gt;
         &lt;toolkit:RichTextBoxFormatBar /&gt;
     &lt;/toolkit:RichTextBoxFormatBarManager.FormatBar&gt;
  &lt;/RichTextBox&gt;
  </code></pre>
  
  <p>Im having brain drain, I have the following in my code behind but cant wire it up!</p>
  
  <blockquote>
  <pre><code>        Microsoft.Windows.Controls.RichTextBox rtb_wording = new Microsoft.Windows.Controls.RichTextBox();// USE extended RTB
          Microsoft.Windows.Controls.RichTextBoxFormatBarManager manager = new RichTextBoxFormatBarManager();
          Microsoft.Windows.Controls.RichTextBoxFormatBar formatBar = new Microsoft.Windows.Controls.RichTextBoxFormatBar();
  </code></pre>
  </blockquote>
  
  <p>Any help really appreciated</p>