Esempio n. 1
0
        internal void Release(Cell cell)
        {
            // Make sure the cell is allowed to be recycled.
            if ((cell == null) || (!VirtualizingCellCollection.IsRecyclableCell(cell)))
            {
                return;
            }

            // Remove the target cell from the binded cells.
            this.Unbind(cell, true);

            cell.Visibility = Visibility.Collapsed;
        }