UIKit.UITableViewCell.Accessory Property
The type of standard accessory the cell should use (in its normal state).

Syntax

[get: Foundation.Export("accessoryType")]
[set: Foundation.Export("setAccessoryType:")]
public virtual UITableViewCellAccessory Accessory { get; set; }

Value

Default value is UITableViewCellAccessory.None.

Remarks

If specified, the accessory view appears on the right side of a cell. Standard accessory view types include the 'disclosure indicator' right-chevron.

If the accessory type is UITableViewCellAccessory.DetailDisclosureButton (and the cell is enabled) then when tapped it will call the UITableViewSource.AccessoryButtonTapped(UITableView, Foundation.NSIndexPath) method. This method is seperate to the UITableViewSource.RowSelected(UITableView, Foundation.NSIndexPath) method that is called if the rest of the cell is tapped.

If a custom accessory view is set via UITableViewCell.AccessoryView then this Accessory property is ignored.

The accessory image cross-fades between normal and editing states if it is set for both states; use the UITableViewCell.EditingAccessory property to set the accessory type to be displayed in editing mode. If an accessory is not defined for both states (normal and editing) the the accessory is animated to slide in or out, as required.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0