I defined datagrid in WPF, but i can’t set the IsReadOnly Property in DataGridTextColumn and DataGrid
<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}">
<dg:DataGridTextColumn IsReadOnly="true" Header="Notional/PairOffAmount" Width="120" ElementStyle="{StaticResource RightAlignStyle}" SortMemberPath="Notional" DataFieldBinding="{Binding Notional,StringFormat={}{0:C}}"/>
I got the following error message “The property ‘DataGridColumn.IsReadOnly’ cannot be set because it does not have an accessible set accessor”
I used WPF TOOLKIT 2008, IsReadonly Property exists only in WPF Datagrid.