MonoTouch.UIKit.UICollectionView.CollectionViewLayout Property
The MonoTouch.UIKit.UICollectionViewLayout that will lay out this MonoTouch.UIKit.UICollectionView's elements.

Syntax

[get: MonoTouch.Foundation.Export("collectionViewLayout")]
[set: MonoTouch.Foundation.Export("setCollectionViewLayout:")]
public virtual UICollectionViewLayout CollectionViewLayout { get; set; }

Value

This value must be set prior to presenting the MonoTouch.UIKit.UICollectionView or the application will crash.

Remarks

This value must be set prior to presentation, either by instantiating the MonoTouch.UIKit.UICollectionView with the MonoTouch.UIKit.UICollectionView.UICollectionView(System.Drawing.RectangleF, UICollectionViewLayout) constructor or with the UICollectionView.SetCollectionViewLayout method.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0