Skip to content

Commit f82f5a3

Browse files
authored
Removes references to being able to set DataGridCell.IsReadOnly property (#9344)
1 parent 0aba5f0 commit f82f5a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xml/System.Windows.Controls/DataGrid.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3267,7 +3267,7 @@
32673267
<format type="text/markdown"><![CDATA[
32683268

32693269
## Remarks
3270-
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`.
3270+
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`.
32713271

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

xml/System.Windows.Controls/DataGridCell.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
<format type="text/markdown"><![CDATA[
223223
224224
## Remarks
225-
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`.
225+
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`.
226226
227227
]]></format>
228228
</remarks>

0 commit comments

Comments
 (0)