iOS Guides | Samples

MonoTouch.UIKit.UITableViewStyle Enumeration

The visual style for a UITableView. A table view's style can only be set when it is instantiated.

Syntax

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

Remarks

Some table view features are only available for a specific style, for example Plain tables can provide an index to help scroll through long lists but Grouped tables should not.

Members

Member NameDescription
GroupedTable style where each section is grouped into a rounded-rectangle. The table view's background can be see behind the rounded-rectangle groupings. Section headers and footers do not 'float' while scrolling.
PlainCells in the plain style take the entire width of the table view - there is no rounded-rectangle grouping. Section headers and footers 'float' (stick to the top/bottom of the table view) as the user scrolls through the section. An index may be implemented to make scrolling through long lists faster.

Requirements

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

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

See Also: Enum

Public Fields

GroupedUITableViewStyle. Table style where each section is grouped into a rounded-rectangle. The table view's background can be see behind the rounded-rectangle groupings. Section headers and footers do not 'float' while scrolling.
PlainUITableViewStyle. Cells in the plain style take the entire width of the table view - there is no rounded-rectangle grouping. Section headers and footers 'float' (stick to the top/bottom of the table view) as the user scrolls through the section. An index may be implemented to make scrolling through long lists faster.