UITableViewDelegate.WillDisplay Method
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.
Called just before a cell is rendered for the row specified by indexPath
.
[Foundation.Export("tableView:willDisplayCell:forRowAtIndexPath:")]
public virtual void WillDisplay (UIKit.UITableView tableView, UIKit.UITableViewCell cell, Foundation.NSIndexPath indexPath);
abstract member WillDisplay : UIKit.UITableView * UIKit.UITableViewCell * Foundation.NSIndexPath -> unit
override this.WillDisplay : UIKit.UITableView * UIKit.UITableViewCell * Foundation.NSIndexPath -> unit
Parameters
- tableView
- UITableView
Table view containing the row.
- cell
- UITableViewCell
Cell view that is going to be used to draw the row.
- indexPath
- NSIndexPath
Location of the row.
- Attributes
Remarks
Use this method to override properties of the cell before it is rendered (such as selection status or background color). After this method has been called, the table view will only modify the Alpha and Frame properties as it animates them (if required).