UICollectionView.Source 属性

定义

可替换 和 Delegate 属性的DataSource可选属性

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

属性值

默认值为 null

注解

与其指定单独的类并为 和 Delegate 属性提供两个对象DataSource,不如提供一个类型 (该类UICollectionViewSource本身被简单地定义为) 。

适用于