Edit

Share via


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
UITableViewCellSelectionStyle
Attributes

Fields

Name Value Description
None 0

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

Blue 1

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

Gray 2

The cell background turns gray when it is selected.

Default 3

The default selection style used by tables.

Remarks

Used to set the SelectionStyle of a cell.

Applies to