UICollectionViewDelegateFlowLayout.GetSizeForItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The size of the specified item's cell.
[Foundation.Export("collectionView:layout:sizeForItemAtIndexPath:")]
public virtual CoreGraphics.CGSize GetSizeForItem (UIKit.UICollectionView collectionView, UIKit.UICollectionViewLayout layout, Foundation.NSIndexPath indexPath);
abstract member GetSizeForItem : UIKit.UICollectionView * UIKit.UICollectionViewLayout * Foundation.NSIndexPath -> CoreGraphics.CGSize
override this.GetSizeForItem : UIKit.UICollectionView * UIKit.UICollectionViewLayout * Foundation.NSIndexPath -> CoreGraphics.CGSize
Parameters
- collectionView
- UICollectionView
- layout
- UICollectionViewLayout
- indexPath
- NSIndexPath
Returns
- Attributes