Edytuj

Udostępnij za pośrednictwem


DataGridBoundColumn.OnCoerceIsReadOnly(Boolean) Method

Definition

Determines the value of the IsReadOnly property based on property rules from the data grid that contains this column.

protected:
 override bool OnCoerceIsReadOnly(bool baseValue);
protected override bool OnCoerceIsReadOnly (bool baseValue);
override this.OnCoerceIsReadOnly : bool -> bool
Protected Overrides 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 data grid; otherwise, false.

Applies to