NSCollectionLayoutItem.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Create(NSCollectionLayoutSize) | |
| Create(NSCollectionLayoutSize, NSCollectionLayoutSupplementaryItem[]) |
Create(NSCollectionLayoutSize)
[Foundation.Export("itemWithLayoutSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.NSCollectionLayoutItem Create(UIKit.NSCollectionLayoutSize layoutSize);
[<Foundation.Export("itemWithLayoutSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : UIKit.NSCollectionLayoutSize -> UIKit.NSCollectionLayoutItem
Parameters
- layoutSize
- NSCollectionLayoutSize
Returns
- Attributes
Applies to
Create(NSCollectionLayoutSize, NSCollectionLayoutSupplementaryItem[])
[Foundation.Export("itemWithLayoutSize:supplementaryItems:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.NSCollectionLayoutItem Create(UIKit.NSCollectionLayoutSize layoutSize, params UIKit.NSCollectionLayoutSupplementaryItem[] supplementaryItems);
[<Foundation.Export("itemWithLayoutSize:supplementaryItems:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : UIKit.NSCollectionLayoutSize * UIKit.NSCollectionLayoutSupplementaryItem[] -> UIKit.NSCollectionLayoutItem
Parameters
- layoutSize
- NSCollectionLayoutSize
- supplementaryItems
- NSCollectionLayoutSupplementaryItem[]
Returns
- Attributes