Edit

Bagikan melalui


UITableViewCellSeparatorStyle Enum

Definition

The visual style of a UITableView's cell separator.

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

Fields

Name Value Description
None 0

No separator is displayed between cells.

SingleLine 1

A single line is displayed between each cell. This is the default.

DoubleLineEtched 2

A single etched line (made up of two different colored lines) is displayed between each cell (same as SingleLineEtched). This style can only be used in grouped-style table views.

SingleLineEtched 2

Developers should not use this deprecated field. Developers should use 'SingleLine' for a single line separator.

Remarks

The cell separator style is set via a table view's SeparatorStyle property.

Applies to