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
1090
DataBinding to FieldSettings.AllowEdit
posted

Hey,

 Is it possible to data bind to xamDataGrid.FieldSettings.AllowEdit?  I have a view model with a boolean that I want to bind to this property but the binding isn't working at run time.  I tried to set up the binding in code (after trying to set it up in xaml didn't work) but FieldSettings doesn't have a SetBinding method, so I'm wondering if binding to a FieldSettings' properties isn't supported?

 

Edit:

I was able to get this working using the DataContextSpy approach described here: http://www.codeproject.com/KB/WPF/ArtificialInheritanceCxt.aspx

 

Thanks