UITableViewCell.SetSelected(Boolean, Boolean) 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.
Sets the selected state of the cell, optionally animating the transition between the states.
[Foundation.Export("setSelected:animated:")]
public virtual void SetSelected (bool selected, bool animated);
abstract member SetSelected : bool * bool -> unit
override this.SetSelected : bool * bool -> unit
Parameters
- selected
- Boolean
true
to select the cell, false
to deselect.
- animated
- Boolean
true
to animate the selected transition, false
to make the transition immediate.
- Attributes
Remarks
Selection changes the the appearance of the cell's labels, image, and background.