title: How to access DataContext of parent in wpf when parent type can be different?
body: <p>I need to access DataContext of parent in wpf xaml. The whole xaml page code is dynamic. So don't know about the type of parent.</p>
  
  <p>I am writing this </p>
  
  <pre><code>&lt;Grid DataContext={Binding Path=.}&gt;
  </code></pre>
  
  <p>Is this correct? </p>