internal LayoutBoxInformation GetLayoutBoxInformation(IElement element)
        {
            if (LayoutBoxes.TryGetValue(element, out var box))
            {
                return(box);
            }

            box = new LayoutBoxInformation();
            LayoutBoxes[element] = box;
            return(box);
        }
 internal void SetLayoutBoxInformation(IElement component, LayoutBoxInformation boxInformation)
 {
     LayoutBoxes[component] = boxInformation;
 }