UITableViewCellSelectionStyle UITableViewCellSelectionStyle Enum

Definition

The visual appearance of a UITableViewCell when it is selected.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITableViewCellSelectionStyle
type UITableViewCellSelectionStyle = 
Inheritance
UITableViewCellSelectionStyleUITableViewCellSelectionStyle
Attributes

Fields

Blue Blue 1

The cell background turns blue when it is selected. This is the default behavior.

Default Default 3

The default selection style used by tables.

Gray Gray 2

The cell background turns gray when it is selected.

None None 0

There is no change to the cell's appearance when it is selected.

Remarks

Used to set the SelectionStyle of a cell.

Applies to