共用方式為


UICollectionViewDelegateFlowLayout.GetInsetForSection 方法

定義

要套用至指定區段中內容的邊界。

[Foundation.Export("collectionView:layout:insetForSectionAtIndex:")]
public virtual UIKit.UIEdgeInsets GetInsetForSection (UIKit.UICollectionView collectionView, UIKit.UICollectionViewLayout layout, nint section);
abstract member GetInsetForSection : UIKit.UICollectionView * UIKit.UICollectionViewLayout * nint -> UIKit.UIEdgeInsets
override this.GetInsetForSection : UIKit.UICollectionView * UIKit.UICollectionViewLayout * nint -> UIKit.UIEdgeInsets

參數

collectionView
UICollectionView
section
System.System.IntPtr System.nativeint

傳回

屬性

適用於