Share via


IUICollectionViewDelegateFlowLayout.GetInsetForSection Method

Definition

The margins to apply to content in the specified section.

[Foundation.Export("collectionView:layout:insetForSectionAtIndex:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIEdgeInsets GetInsetForSection(UIKit.UICollectionView collectionView, UIKit.UICollectionViewLayout layout, IntPtr section);
[<Foundation.Export("collectionView:layout:insetForSectionAtIndex:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetInsetForSection : UIKit.UICollectionView * UIKit.UICollectionViewLayout * nativeint -> UIKit.UIEdgeInsets
override this.GetInsetForSection : UIKit.UICollectionView * UIKit.UICollectionViewLayout * nativeint -> UIKit.UIEdgeInsets

Parameters

collectionView
UICollectionView
section
IntPtr

nativeint

Returns

Attributes

Applies to