Läs på engelska Redigera

Dela via


UITableViewCellSelectionStyle Enum

Definition

The visual appearance of a UITableViewCell when it is selected.

C#
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum 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

Produkt Versioner
Xamarin iOS SDK 12