public bool Remove(CssBox box) { if (_boxes.Remove(box)) { #if DEBUG box.dbugIsInAbsLayer = false; #endif box.ResetAbsoluteLayerOwner(); return(true); } return(false); }