UIKit.UITableViewCell.PrepareForReuse Method
Prepares a cell for reuse by the table view's UIKit.UITableViewSource.

Syntax

[Foundation.Export("prepareForReuse")]
public virtual void PrepareForReuse ()

Remarks

If a UIKit.UITableView is reusable - it has a ReuseIdentifier - this method is called just before the object is returned by UITableView.DequeueReusableCell(string). This method implementation should reset cell attributes that are not content-related, such as alpha, editing, and selection state. The UITableViewSource.GetCell(UITableView, Foundation.NSIndexPath) should always reset the content when reusing a cell.

Subclasses must always call base when overriding this method.

If the cell object does not have a UITableViewCell.ReuseIdentifier, this method is not called.

Requirements

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