UICollectionView.BackgroundView 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个 UIView ,它位于所有其他内容后面,并自动调整大小以填充整个边界。
public virtual UIKit.UIView BackgroundView { [Foundation.Export("backgroundView", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setBackgroundView:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.BackgroundView : UIKit.UIView with get, set
属性值
默认值为 null
。
- 属性
注解
如果保留默认值 null
,则 的背景 UICollectionView 是其 BackgroundColor 属性的 vale。
适用于
另请参阅
- <xref:UIKit.UICollectionViewLayout.RegisterClassForDecorationView>