Upravit

Sdílet prostřednictvím


UICollectionViewDelegateFlowLayout_Extensions Class

Definition

Extension methods to the IUICollectionViewDelegateFlowLayout interface to support all the methods from the UICollectionViewDelegateFlowLayout protocol.

public static class UICollectionViewDelegateFlowLayout_Extensions
type UICollectionViewDelegateFlowLayout_Extensions = class
Inheritance
UICollectionViewDelegateFlowLayout_Extensions

Remarks

The extension methods for IUICollectionViewDelegateFlowLayout allow developers to treat instances of the interface as having all the optional methods of the original UICollectionViewDelegateFlowLayout protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetInsetForSection(IUICollectionViewDelegateFlowLayout, UICollectionView, UICollectionViewLayout, nint)

The margins to apply to content in the specified section.

GetMinimumInteritemSpacingForSection(IUICollectionViewDelegateFlowLayout, UICollectionView, UICollectionViewLayout, nint)

The spacing between items in the rows or columns of a section.

GetMinimumLineSpacingForSection(IUICollectionViewDelegateFlowLayout, UICollectionView, UICollectionViewLayout, nint)

The spacing between rows or columns of a section.

GetReferenceSizeForFooter(IUICollectionViewDelegateFlowLayout, UICollectionView, UICollectionViewLayout, nint)

The size of the footer view for the specified section.

GetReferenceSizeForHeader(IUICollectionViewDelegateFlowLayout, UICollectionView, UICollectionViewLayout, nint)

The size of the header view for the specified section.

GetSizeForItem(IUICollectionViewDelegateFlowLayout, UICollectionView, UICollectionViewLayout, NSIndexPath)

The size of the specified item's cell.

Applies to