편집

다음을 통해 공유


UITableViewCell.Selected Property

Definition

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.

Applies to