title: WPF: Aligning the base line of a Label and its TextBox
body: <p>Let's say I have a simple TextBox next to a Label:</p>
  
  <pre><code>&lt;StackPanel&gt;
      &lt;StackPanel Orientation="Horizontal"&gt;
          &lt;Label Margin="3"&gt;MyLabel&lt;/Label&gt;
          &lt;TextBox Margin="3" Width="100"&gt;MyText&lt;/TextBox&gt;
      &lt;/StackPanel&gt;
      ...
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>This yields the following result:</p>
  
  <p><a href="https://i.stack.imgur.com/IxF8P.png" rel="noreferrer"><img src="https://i.stack.imgur.com/IxF8P.png" alt="result"></a></p>
  
  <p>As you can see, the base lines of MyLabel and MyText are not aligned, which looks ugly. Of course, I could start playing around with the margins until they match up, but since this is such a common requirement I'm sure that WPF provides a much easier and more elegant solution, which I just haven't found yet...</p>