Edytuj

Udostępnij za pośrednictwem


UITableViewCellAccessory Enum

Definition

An enumeration of standard accessory controls that can be used by a T:UIKIt.UITableViewCell.

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

Fields

Name Value Description
None 0

No accessory is displayed. This is the default. Use this value to remove a previously-assigned accessory.

DisclosureIndicator 1

A chevron (right-pointing arrow) is displayed on the right side of the cell. This accessory does not track touches.

DetailDisclosureButton 2

A blue circular button containing a chevron (right-pointing arrow) is displayed on the right side of the cell. This accessory tracks touches separately from the rest of the cell.

Checkmark 3

A tick is displayed on the right side of the cell. This accessory does not track touches. The table view's UITableViewSource can manage check marks (possibly limiting the check mark to a single row) in the RowSelected(UITableView, NSIndexPath) method.

DetailButton 4

A standard button indicating additional detail.

Remarks

Set the type of accessory to display in a T:UIKIt.UITableViewCell using the Accessory property.

Applies to