UITableViewCell.Selected 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.
Whether the cell is selected.
public virtual bool Selected { [Foundation.Export("isSelected")] get; [Foundation.Export("setSelected:")] set; }
member this.Selected : bool with get, set
Property Value
Default value is false
.
- Attributes
Remarks
Selection affects the appearance of labels, image and background. When the Selected property is set to true
, the labels are drawn in white and the background is set to the SelectedBackgroundView (if set).
When this property is set to true
, the transition to the new appearance is not animated. Use the SetSelected(Boolean, Boolean) method for animated selection-state transitions.