UIKit.UITableViewCell.Highlighted Property
Whether the cell is highlighted.

Syntax

[get: Foundation.Export("isHighlighted")]
[set: Foundation.Export("setHighlighted:")]
public virtual bool Highlighted { get; set; }

Value

Default value is false.

Remarks

Highlighting affects the appearance of labels, the image and background. When Highlighted is true, the labels in the cell are drawn in their highlighted text color (which is white by default).

When this property is set to true, the transition to the new appearance is not animated. Use the UITableViewCell.SetHighlighted(bool, bool) method for animated highlight-state transitions.

For highlighting to work properly, set the UILabel.HighlightedTextColor for the two labels (UITableViewCell.TextLabel and UITableViewCell.DetailTextLabel), and set the UImageView.HighlightedImage property on the cell's UITableViewCell.ImageView.

Requirements

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