Edit

Share via


UICollectionView.BackgroundView Property

Definition

A UIView that lies behind all other content and is automatically sized to fill the entire bounds.

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

Property Value

The default value is null.

Attributes

Remarks

If left to the default value of null, the background of the UICollectionView is the vale of it's BackgroundColor property.

Applies to

See also

  • <xref:UIKit.UICollectionViewLayout.RegisterClassForDecorationView>