- Set the <xref:System.Windows.Controls.DataGrid.IsReadOnly%2A> property to `true` to make all the cells in the <xref:System.Windows.Controls.DataGrid> read-only. To make individual columns or cells read-only, set the <xref:System.Windows.Controls.DataGridColumn.IsReadOnly%2A?displayProperty=nameWithType> or <xref:System.Windows.Controls.DataGridCell.IsReadOnly%2A?displayProperty=nameWithType> properties. If a conflict exists between the settings at the <xref:System.Windows.Controls.DataGrid>, column, or cell levels, a value of `true` takes precedence over a value of `false`.
0 commit comments