public static void SetParentLink(RenderElement childElement, IParentLink parentLink) { childElement.parentLink = parentLink; #if DEBUG if (childElement.ParentRenderElement == childElement) { //error! throw new NotSupportedException(); } #endif } public bool MayHasChild