/// <summary> /// Assigns an unbound value to this row at a given column. /// </summary> /// <param name="col">Column that contains the value.</param> /// <param name="value">Unbound value to be stored at the given column.</param> /// <returns>True if the value was stored successfully.</returns> protected bool SetUnboundValue(Column col, object value) { // create storage if necessary if (_urd == null) { _urd = new UnboundRowStorage(this); } if (!_urd.SetValue(col, value)) { return(false); } // invalidate the cell and return success InvalidateCell(col); return(true); }
/// <summary> /// Assigns an unbound value to this row at a given column. /// </summary> /// <param name="col">Column that contains the value.</param> /// <param name="value">Unbound value to be stored at the given column.</param> /// <returns>True if the value was stored successfully.</returns> protected bool SetUnboundValue(Column col, object value) { if (_urd == null) { _urd = new UnboundRowStorage(this); } if (!_urd.SetValue(col, value)) { return false; } InvalidateCell(col); return true; }