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
傳回
- 屬性