title: WPF (XAML - Data Binding - Find Ancestor)
body: <p>I faced a prob where I can't seem to bind a value from my ViewModel.. The code is something like this..</p>
  
  <pre><code>&lt;telerik:RadGridView 
         ...
         DataContext = "{Binding thisViewModel}"
         ItemSource = "{Binding item1}"
         ... &gt;
  
     &lt;telerik:RadGridView.Columns&gt;
        &lt;telerik:GridViewDataColumn
               ....
               DataMemberBinding = "{Binding insideItem1}"&gt;
  
           &lt;telerik:GridViewDataColumn.Header&gt;
  
               &lt;Run Text = "{Binding Path = DataContext.item2,
                                 RelativeSource = {RelativeSource Mode=FindAncestor, 
                                     AncestorType="{x:Type telerik:RadGridView"}, 
                                     AncestorLevel = 1}}"/&gt;
  
                .....
  
        &lt;/&lt;telerik:GridViewDataColumn&gt;
  </code></pre>
  
  <p>The one that has the binding problem is the <strong>item2</strong> inside the <strong>"Run Text"</strong> part. <strong>item2</strong> is another property inside <strong>thisViewModel</strong> just like <strong>item1</strong>. Can anyone enlightens me on this matter? Thank you in advance :)</p>