Edytuj

Udostępnij za pośrednictwem


UITableViewCell.EditingAccessoryView Property

Definition

A view on the right side of a UITableViewCell (editing state).

public virtual UIKit.UIView EditingAccessoryView { [Foundation.Export("editingAccessoryView", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setEditingAccessoryView:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.EditingAccessoryView : UIKit.UIView with get, set

Property Value

This value can be null.

Attributes

Remarks

If this property is not null then the cell uses the given view as the accessory (for the editing state). The value of the EditingAccessory is ignored when EditingAccessoryView is set. The custom accessory view can be a control, a label or a custom view.

The accessory view cross-fades between normal and editing states if it is set for both states; use the AccessoryView property to set a custom accessory view to be displayed in the normal state. If an accessory is not defined for both states (normal and editing) the the accessory view is animated to slide in or out, as required.

Applies to