title: Determine if a WPF DependencyProperty value is inherited
body: <p>Does anyone know how to determine if the value of a WPF property is inherited? In particular, I'm trying to determine if the <code>DataContext</code> of a <code>FrameworkElement</code> was inherited from the parent or set directly on the element itself.</p>