iOS Guides | Samples

MonoTouch.UIKit.UITableViewCellStyle Enumeration

The visual style of a UITableViewCell.

Syntax

[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITableViewCellStyle

Remarks

Members

Member NameDescription
DefaultPlain style with a black, left-aligned UITableViewCell.TextLabel and an optional UITableViewCell.ImageView (that will appear to the left of the text).
SubtitleStyle with two text labels. They are both left-aligned, the top UITableViewCell.TextLabel is large black text and the bottom UITableViewCell.DetailTextLabel uses smaller gray text. The Music app's Albums listing is an example of this cell style.
Value1Style with two text labels. The UITableViewCell.TextLabel appears on the left, and is left-aligned with black text. UITableViewCell.DetailTextLabel appears to the right, and is right-aligned with smaller blue text. The Settings app uses this style.
Value2Style with two text labels. The UITableViewCell.TextLabel appears on the left, but is right-aligned with blue text. UITableViewCell.DetailTextLabel appears to the right, but is left-aligned with black text. The detailed contact information in the Contacts app is an example of this cell style.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UITableViewCellStyle are listed below.

See Also: Enum

Public Fields

DefaultUITableViewCellStyle. Plain style with a black, left-aligned UITableViewCell.TextLabel and an optional UITableViewCell.ImageView (that will appear to the left of the text).
SubtitleUITableViewCellStyle. Style with two text labels. They are both left-aligned, the top UITableViewCell.TextLabel is large black text and the bottom UITableViewCell.DetailTextLabel uses smaller gray text. The Music app's Albums listing is an example of this cell style.
Value1UITableViewCellStyle. Style with two text labels. The UITableViewCell.TextLabel appears on the left, and is left-aligned with black text. UITableViewCell.DetailTextLabel appears to the right, and is right-aligned with smaller blue text. The Settings app uses this style.
Value2UITableViewCellStyle. Style with two text labels. The UITableViewCell.TextLabel appears on the left, but is right-aligned with blue text. UITableViewCell.DetailTextLabel appears to the right, but is left-aligned with black text. The detailed contact information in the Contacts app is an example of this cell style.