How to do a proper Template binding?
<p>I seem to have become a bit rusty on template bindings, I just can't get this to work. Do you see what's wrong?</p>

<p>I have a custom control like this:</p>

<pre><code>public class TextPropertyRow : HeaderedContentControl
{
}
</code></pre>

<p>With a style and control template like this:</p>

<pre><code>&lt;Style TargetType="{x:Type Framework:TextPropertyRow}"&gt;
  &lt;Setter Property="Template"&gt;
    &lt;Setter.Value&gt;
      &lt;ControlTemplate TargetType="{x:Type Framework:TextPropertyRow}"&gt;
        &lt;Grid&gt;
          &lt;Grid.ColumnDefinitions&gt;
            &lt;ColumnDefinition Width="Auto" /&gt;
            &lt;ColumnDefinition Width="20" /&gt;
            &lt;ColumnDefinition Width="*" /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
          &lt;ContentPresenter ContentSource="Header" /&gt;
          &lt;TextBox Text="{TemplateBinding Content}" Grid.Column="2" /&gt;
        &lt;/Grid&gt;
      &lt;/ControlTemplate&gt;
    &lt;/Setter.Value&gt;
  &lt;/Setter&gt;
&lt;/Style&gt;
</code></pre>

<p>Which I'm using like this:</p>

<pre><code>&lt;Framework:TextPropertyRow Header="Value"
  Content="{Binding PublicStringPropertyOnDataContext}" /&gt;
</code></pre>

<p>But values entered into the textbox won't get injected into the viewmodel datacontext. Is this not the correct way of doing it?</p>