Redigera

Dela via


DataGridColumn.OnCoerceIsReadOnly(Boolean) Method

Definition

Determines the value of the IsReadOnly property based on the property rules of the DataGrid that contains this column.

protected:
 virtual bool OnCoerceIsReadOnly(bool baseValue);
protected virtual bool OnCoerceIsReadOnly (bool baseValue);
abstract member OnCoerceIsReadOnly : bool -> bool
override this.OnCoerceIsReadOnly : bool -> bool
Protected Overridable Function OnCoerceIsReadOnly (baseValue As Boolean) As Boolean

Parameters

baseValue
Boolean

The value that was passed to the delegate.

Returns

true if cells in the column cannot be edited based on rules from the DataGrid; otherwise, false.

Applies to