UICollectionView.Source Property

Definition

An optional property that can substitute for the DataSource and Delegate properties.

public UIKit.UICollectionViewSource Source { get; set; }
public UIKit.UICollectionViewSource? Source { get; set; }
member this.Source : UIKit.UICollectionViewSource with get, set

Property Value

The UICollectionViewSource that provides both data source and delegate functionality, or null if not set.

Remarks

Rather than specify separate classes and provide two objects for the DataSource and Delegate properties, one can provide a single class of type UICollectionViewSource.

Applies to