UICollectionViewLayout.LayoutAttributesForSupplementaryView 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LayoutAttributesForSupplementaryView(UICollectionElementKindSection, NSIndexPath) |
指定 indexPath 处的补充视图的属性。 |
LayoutAttributesForSupplementaryView(NSString, NSIndexPath) |
指定补充视图的 UICollectionViewLayoutAttributes。 |
LayoutAttributesForSupplementaryView(UICollectionElementKindSection, NSIndexPath)
指定 indexPath 处的补充视图的属性。
public UIKit.UICollectionViewLayoutAttributes LayoutAttributesForSupplementaryView (UIKit.UICollectionElementKindSection section, Foundation.NSIndexPath indexPath);
member this.LayoutAttributesForSupplementaryView : UIKit.UICollectionElementKindSection * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
参数
- section
- UICollectionElementKindSection
- indexPath
- NSIndexPath
返回
适用于
LayoutAttributesForSupplementaryView(NSString, NSIndexPath)
指定补充视图的 UICollectionViewLayoutAttributes。
[Foundation.Export("layoutAttributesForSupplementaryViewOfKind:atIndexPath:")]
public virtual UIKit.UICollectionViewLayoutAttributes LayoutAttributesForSupplementaryView (Foundation.NSString kind, Foundation.NSIndexPath indexPath);
abstract member LayoutAttributesForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
override this.LayoutAttributesForSupplementaryView : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
参数
- kind
- NSString
- indexPath
- NSIndexPath
返回
- 属性