I want to make individual text cells in a datagrid "ReadOnly" based upon a checkbox value in another column. That same boolean value is available in the VM so it is easy to access. I can figure out how to make whole columns "ReadOnly" and I see from this article how to do it programmatically (http://social.msdn.microsoft.com/Forums/en-US/winformsdesigner/thread/ba64ad9a-5f6b-4bfb-b229-c74e42d7442a)
What I really want to be able to do is bind a readonly-like property on an individual cell in my xaml code and I want it to be able to change with the click of a checkbox of a sibling cell. Vince Sibal has an interesting blog (http://blogs.msdn.com/b/vinsibal/archive/2008/09/16/wpf-datagrid-styling-rows-and-columns-based-on-header-conditions-and-other-properties.aspx) but I can't find a "ReadOnly" property for an individual cell. I saw an interesting article on using a "CellEditingTemplate" (http://forums.silverlight.net/forums/p/19207/502122.aspx) but decided to ask in this forum before going down that path. Can anyone recommend a solution?