title: Multiline Text in a WPF Button
body: <p>How do I get multi-line text on a WPF Button using only C#? I have seen examples of using <code>&lt;LineBreak/&gt;</code> in XAML, but my buttons are created completely programmatically in C#. The number and labels on the buttons correspond to values in the domain model, so I don't think I can use XAML to specify this.</p>
  
  <p>I have tried the naive approach below, but it does not work.</p>
  
  <pre><code>Button b = new Button();
  b.Content = "Two\nLines";
  </code></pre>
  
  <p>or</p>
  
  <pre><code>b.Content = "Two\r\nLines";
  </code></pre>
  
  <p>In either case, all i see is the first line ("Two") of the text.</p>