Just throwing this out there.. but could the OP bind the IsEnabled property straight to the PropertyGrid in question, and use a converter to convert the prop to a bool?
The PropertyGrid is a WinForms control, so no binding to that I'd think. Although I have experimented with artificial binding in Win32 apps before. I had a static helper class that registered a collection of event handlers for things like TextChanged, SelectedIndexChanged, etc and would use reflection to set properties and fire events. It actually worked fine, but I never bothered to use the technique in anger in a big app. I think the amount of code required to setup all the binds got a bit tedious. I wish binding in WPF and Silverlight was more "natural". It's an illusion created by an artifice of plumbing with static methods and collections. Greg _______________________________________________ ozwpf mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
