title: How can i use DatagridTextColumn.ElementStyle to Make DatagridTextColumn readonly?
body: <p>can i use elementStyle to bind DatagridTextColumn IsReadOnly to a Property inside a ViewModel(here IsReadOnlyProperty)?
  something like this:</p>
  
  <pre><code>  &lt;DataGridTextColumn.ElementStyle&gt;
        &lt;Style TargetType="{x:Type TextBlock}"&gt;
            &lt;Setter Property="IsEnabled" Value="{Binding IsReadOnlyProperty}"/&gt;
        &lt;/Style&gt;
    &lt;/DataGridTextColumn.ElementStyle&gt;
    &lt;DataGridTextColumn.EditingElementStyle&gt;
          &lt;Style TargetType="{x:Type TextBlock}"&gt;
                 &lt;Setter Property="IsEnabled" Value="{Binding IsReadOnlyProperty}" /&gt;
          &lt;/Style&gt;
    &lt;/DataGridTextColumn.EditingElementStyle&gt;
  </code></pre>