Esempio n. 1
0
        public int GetPotentialDisplayHeight()
        {
            if (tiles.Count == 0)
            {
                return(0);
            }

            Requisition headerReq = header.SizeRequest();
            Requisition tileReq   = tiles[0].SizeRequest();

            return(headerReq.Height + (tiles.Count / Columns) * tileReq.Height);
        }