Edytuj

Udostępnij za pośrednictwem


UITableViewCell.SelectedBackgroundView Property

Definition

The view that is used as the cell's background when it is selected.

public virtual UIKit.UIView SelectedBackgroundView { [Foundation.Export("selectedBackgroundView", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setSelectedBackgroundView:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.SelectedBackgroundView : UIKit.UIView with get, set

Property Value

Default is null for Plain tables and non-null for Grouped style tables.

This value can be null.

Attributes

Remarks

UITableView adds the value of this proerty as a subview only when the cell is selected. It is added as a subview directly above the BackgroundView if that is not null, otherwise behind all other views.

If SetSelected(Boolean, Boolean) is called, this view is animated in and out with an alpha fade.

Applies to