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

Syntax

[get: Foundation.Export("editingAccessoryType")]
[set: Foundation.Export("setEditingAccessoryType:")]
public virtual UITableViewCellAccessory EditingAccessory { get; set; }

Value

Default value is UITableViewCellAccessory.None.

Remarks

If specified, the accessory view appears on the right side of a cell. Standard accessory 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 for the editing state via UITableViewCell.EditingAccessoryView then this EditingAccessory property is ignored.

The accessory image cross-fades between normal and editing states if it is set for both states; use the UITableViewCell.Accessory property to set the accessory type to be displayed in the normal state. 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