Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xml/System.Windows.Controls/DataGrid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3083,7 +3083,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
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`.
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 read-only, set the <xref:System.Windows.Controls.DataGridColumn.IsReadOnly%2A?displayProperty=nameWithType> property. 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`.

If this property is set to `true` while the control is in editing mode, all pending edits are discarded.

Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Controls/DataGridCell.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
Set the <xref:System.Windows.Controls.DataGridCell.IsReadOnly%2A> property to `true` to make an individual cell read-only. Set the <xref:System.Windows.Controls.DataGridColumn.IsReadOnly%2A?displayProperty=nameWithType> property to `true` to make all cells in an individual column read-only. Set the <xref:System.Windows.Controls.DataGrid.IsReadOnly%2A?displayProperty=nameWithType> property to `true` to make all cells in the <xref:System.Windows.Controls.DataGrid> read-only If there is a conflict between the settings at the <xref:System.Windows.Controls.DataGrid>, column, and cell levels, a value of `true` takes precedence over a value of `false`.
Set the <xref:System.Windows.Controls.DataGridColumn.IsReadOnly%2A?displayProperty=nameWithType> property to `true` to make all cells in an individual column read-only. Set the <xref:System.Windows.Controls.DataGrid.IsReadOnly%2A?displayProperty=nameWithType> property to `true` to make all cells in the <xref:System.Windows.Controls.DataGrid> read-only If there is a conflict between the settings at the <xref:System.Windows.Controls.DataGrid>, column, and cell levels, a value of `true` takes precedence over a value of `false`.

]]></format>
</remarks>
Expand Down