i have a silverlight datagrid where first column is a checkbox column.
which looks like this..
<sdk:DataGridCheckBoxColumn Header ="Select" Binding="{Binding Path=IsChecked ,Mode=TwoWay}" ></sdk:DataGridCheckBoxColumn>
this would check or uncheck based on my binding property IsChecked.
i also have a Binding property IsCheckBoxEnabled.
Is it possible to enable disable the checkbox using this property.
something like this.
<sdk:DataGridCheckBoxColumn Header ="Select" IsReadOnly={Binding IsCheckBoxEnabled} Binding="{Binding Path=IsChecked ,Mode=TwoWay}" ></sdk:DataGridCheckBoxColumn>
though the above line doesn't work. Am I missing something? i don't want to handle it in code behind.