Esempio n. 1
0
        protected LayoutInformation GetLayoutInformationForChild(Control child)
        {
            LayoutInformation layoutInformation = LayoutInformation.FirstOrDefault(li => li.Control == child);

            if (layoutInformation == null)
            {
                layoutInformation = new LayoutInformation(child);
                LayoutInformation.Add(layoutInformation);
            }
            return(layoutInformation);
        }