title: WPF Datagrid IsReadOnly Property Error
body: <p>I defined datagrid in WPF, but i can't set the IsReadOnly Property in DataGridTextColumn and DataGrid</p>
  
  <pre><code>  &lt;dg:DataGrid  SelectionUnit="FullRow"    ColumnHeaderStyle="{StaticResource ColumnHeaderStyleByGiri}"  ItemsSource="{Binding QueuedTradesCollection}"  Margin="20"                  
      AlternationCount="2" RowStyle="{StaticResource RowStyle}"
  
                   VerticalGridLinesBrush="#FFADD8E6" 
  
                   HorizontalGridLinesBrush="#FFADD8E6" AutoGenerateColumns="False"
      Grid.RowSpan="1" x:Name="grdvw_trades" CellStyle="{StaticResource CellStyle}"&gt;
  
  &lt;dg:DataGridTextColumn IsReadOnly="true"     Header="Notional/PairOffAmount"   Width="120" ElementStyle="{StaticResource RightAlignStyle}" SortMemberPath="Notional"  DataFieldBinding="{Binding Notional,StringFormat={}{0:C}}"/&gt;
  </code></pre>
  
  <p>I got the following error message "The property 'DataGridColumn.IsReadOnly' cannot be set because it does not have an accessible set accessor"</p>