DataGridColumn.OnCoerceIsReadOnly Method (Boolean)
.NET Framework 4.6 and 4.5
Determines the value of the IsReadOnly property based on the property rules of the DataGrid that contains this column.
PresentationFramework (in PresentationFramework.dll)
protected virtual bool OnCoerceIsReadOnly(
The value that was passed to the delegate.
true if cells in the column cannot be edited based on rules from the DataGrid; otherwise, false.
Return to top
Available since 4.0