invalid operation exception when the column is a check box and use a converter

Viewed 252

I have a datagrid and one of the columns are ths:

<DataGridCheckBoxColumn Header="MyColumn" Binding="{Binding ConverterParameter=this, Converter={StaticResource ResourceKey=myCOnverterValueConverter}}" />

If I use a text column I don't have any problem, but if I change it to check box column I get the exception invalid operation exception, and the code does not get the converter code.

If I use a check box column and I don't use any converter I don't have any problem.

How can I use a converter with check box columns in a dataGrid?.

Thanks.

1 Answers
Related