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