title: Caliburn.Micro - Databinding contentpresenter to viewmodel
body: <p>I'm having some issues databinding viewmodels in caliburn micro, i have the follwoing code:</p>
  
  <pre><code>&lt;ContentControl Content="{Binding PaymentDetails}"&gt;
                  &lt;ContentControl.Template&gt;
                      &lt;ControlTemplate TargetType="ContentControl"&gt;
                          &lt;Grid&gt;
                              &lt;Controls:RoundedBox/&gt;
                              &lt;ContentPresenter Content="{Binding PaymentDetails}" Margin="10,0,10,0"/&gt;
                          &lt;/Grid&gt;
                      &lt;/ControlTemplate&gt;
                  &lt;/ContentControl.Template&gt;
              &lt;/ContentControl&gt;
  </code></pre>
  
  <p>The problem is, that PaymentDetails is a viewmodel, and while databinding to a simple ContentControl works using caliburn micros naming convention to find the view, when using the template, and contentpresenter, the viewmodel binding simply displays the string representation of the viewmodel, rather than finding the view. I'm not an expert in this kind of thing, and i've failed to find the answer on google.</p>
  
  <p>What i want is while using the template, to have the viewmodel binding automatically find the view like usual, but i think i'm missing some understanding here.</p>