Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
XamDataGrid with Hierarchy Data Model
posted

We have a hierarchy data model setup through an MVVM pattern.  When were loading the child row were unable to bind to the child row to change some of the attributes (visible or not).  Basically, on some values we do not want to show the actual value but rather hide the value.

  Im attaching a sample so you can see what Im referring to.

Any help will be greatly appreciated...

This is the error you'll see:

System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:(no path); DataItem=null; target element is 'UnboundField' (HashCode=16321512); target property is 'Visibility' (type 'Visibility')

Dock1.zip