title: Binding to property on root element in DataTemplate through a ContentControl
body: <p>In my user interface I sometimes want to put titles above usercontrols.</p>
  
  <p>I want to declare these titles in XAML for future localizability, so I want to keep them out of the datacontexts.</p>
  
  <p>Can databinding fetch them from a property set on the root node of the usercontrol?</p>
  
  <p>I have boiled the problem down to the following code example:</p>
  
  <pre><code>using System.Windows;
  
  namespace WpfApplication12
  {
      /// &lt;summary&gt;
      /// Interaction logic for MainWindow.xaml
      /// &lt;/summary&gt;
      public partial class MainWindow : Window
      {
          public MainWindow()
          {
              InitializeComponent();
  
              this.Person = new Author { Name = "Guge" };
  
              this.DataContext = this;
          }
  
          public object Person { get; set; }
      }
  
      public class Author
      {
          public string Name { get; set; }
      }
  }
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>&lt;Window x:Class="WpfApplication12.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="clr-namespace:WpfApplication12"
      Title="MainWindow" Height="350" Width="525"&gt;
  &lt;Window.Resources&gt;
      &lt;DataTemplate DataType="{x:Type local:Author}"&gt;
          &lt;Border AutomationProperties.Name="Author" BorderThickness="1" BorderBrush="Black"&gt;
              &lt;Label Content="{Binding Name}"/&gt;
          &lt;/Border&gt;
      &lt;/DataTemplate&gt;
  &lt;/Window.Resources&gt;
  &lt;StackPanel&gt;
      &lt;Label x:Name="Position" Content="Author"/&gt;
      &lt;ContentControl x:Name="presentation" Content="{Binding Person}"/&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p></p>
  
  <p>And the practical problem is: how can I use databinding in the content property of the "Position" Label to fetch the word "Author" from the AutomationProperties.Name property of the Border in the DataTemplate?</p>