UITableViewCell.ReuseIdentifier Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.