コード例 #1
0
        private bool IsCellFullyVisible(UICollectionView collectionView, NSIndexPath path)
        {
            var cell = collectionView.CellForItem(path);

            if (cell != null)
            {
                var firstCellFrame = collectionView.ConvertRectToView(cell.Frame, collectionView.Superview);
                if (collectionView.Frame.Contains(firstCellFrame))
                {
                    return(true);
                }
            }

            return(false);
        }