Disabling a CellEditingTemplate programmatically in in a Silverlight DataGrid
- by bplus
I have a Silverlight Datagrid, I'd like to make certain cells readonly programmatically.
Specifically I have a CellEditingTemplate, I'd like to turn the cell editing off or on depending on the value of CategoryTypeName (see the xmal below).
<local:DataGridTemplateColumn Header="Category" >
…