Modifier

Partager via


UITableViewCell.ReuseIdentifier Property

Definition

A string that identifies a cell object so that it can be reused.

public virtual Foundation.NSString ReuseIdentifier { [Foundation.Export("reuseIdentifier", ObjCRuntime.ArgumentSemantic.Copy)] get; }
member this.ReuseIdentifier : Foundation.NSString

Property Value

Attributes

Remarks

The ReuseIdentifier is set in the cell's constructor and cannot be changed. When cells disappear from view, the UITableView object maintains a queue of those cell objects so they can be reused. The GetCell(UITableView, NSIndexPath) implementation then uses DequeueReusableCell(String) with a given ReuseIdentifier to retrieve an existing cell of the correct type for reuse.

Applies to