iOS Guides | Samples

MonoTouch.UIKit.UITableViewController Class

Controller for a UITableView.

See Also: UITableViewController

Syntax

[MonoTouch.Foundation.Register("UITableViewController", true)]
public class UITableViewController : UIViewController, IUITableViewDataSource, IUITableViewDelegate, IDisposable

Remarks

This class is a controller that manages a table view.

Related content

Requirements

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

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

See Also: UIViewController

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Creates a new TUITableViewController with the specified UITableViewStyle.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Creates a new UITableViewController with the UI defined in the specified NIB.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
ClearsSelectionOnViewWillAppearBoolean. Whether the selection should be cleared when the table appears.
RefreshControlUIRefreshControl. The UIRefreshControl used to update the table contents.
TableViewUITableView. A reference to the UITableView that is managed by the controller.

Public Methods

AccessoryButtonTapped(UITableView, NSIndexPath)
Indicates that the accessory button was pressed.
AccessoryForRow(UITableView, NSIndexPath) : UITableViewCellAccessory
The accessory UIView for the specified row.
CanEditRow(UITableView, NSIndexPath) : Boolean
Whether the specified row can be edited.
CanFocusRow(UITableView, NSIndexPath) : Boolean
Whether the row at the specified indexPath may receive focus.
CanMoveRow(UITableView, NSIndexPath) : Boolean
Whether the specified row can be moved.
CanPerformAction(UITableView, Selector, NSIndexPath, NSObject) : Boolean
Whether the edit menu should have Copy and Paste commands for the specified row.
CellDisplayingEnded(UITableView, UITableViewCell, NSIndexPath)
Indicates that cell displayed has completed.
CommitEditingStyle(UITableView, UITableViewCellEditingStyle, NSIndexPath)
Commits the insertion or deletion at the specified row.
CustomizeMoveTarget(UITableView, NSIndexPath, NSIndexPath) : NSIndexPath
Can be used to override the user's choice of location.
DecelerationEnded(UIScrollView)
Indicates deceleration ended after a rapid scroll.
DecelerationStarted(UIScrollView)
Indicates that scrolling after a fast scroll is going to begin decelerating.
DidEndEditing(UITableView, NSIndexPath)
Indicates that editing has completed.
DidUpdateFocus(UITableView, UITableViewFocusUpdateContext, UIFocusAnimationCoordinator)
Indicates that the focus changed as detailed in the context.
DidZoom(UIScrollView)
Indicates a zoom occurred.
DraggingEnded(UIScrollView, Boolean)
Indicates that dragging has completed.
DraggingStarted(UIScrollView)
Indicates that dragging has begun.
EditActionsForRow(UITableView, NSIndexPath) : UITableViewRowAction[]
Returns an array of row actions to display after the user swipes the row in the tableView table view that is identified by indexPath.
EditingStyleForRow(UITableView, NSIndexPath) : UITableViewCellEditingStyle
The UITableViewCellEditingStyle for the specified row.
EstimatedHeight(UITableView, NSIndexPath) : Single
Estimates the height of a row, using minimal computation. Called frequently.
EstimatedHeightForFooter(UITableView, Int32) : Single
Estimates the height for footer views, using minimal computation.
EstimatedHeightForHeader(UITableView, Int32) : Single
Estimates the height for header views, using minimal computation.
FooterViewDisplayingEnded(UITableView, UIView, Int32)
Indicates that the display of footer views has completed.
GetCell(UITableView, NSIndexPath) : UITableViewCell
Retrieves the UITableViewCell at the specified index.
GetHeightForFooter(UITableView, Int32) : Single
The height for the specified footer view.
GetHeightForHeader(UITableView, Int32) : Single
The height for the specified header view.
GetHeightForRow(UITableView, NSIndexPath) : Single
The height for the specified row.
GetIndexPathForPreferredFocusedView(UITableView) : NSIndexPath
The index path of the table's preferred focus view.
GetViewForFooter(UITableView, Int32) : UIView
The UIView used for the footer.
GetViewForHeader(UITableView, Int32) : UIView
The UIView used for the header.
HeaderViewDisplayingEnded(UITableView, UIView, Int32)
Indicates that the display of header views has completed.
IndentationLevel(UITableView, NSIndexPath) : Int32
The indentation level for the specified row.
MoveRow(UITableView, NSIndexPath, NSIndexPath)
Moves the specified row to the specified index.
NumberOfSections(UITableView) : Int32
The number of section in the UITableView.
PerformAction(UITableView, Selector, NSIndexPath, NSObject)
Performs a copy or paste on the content of the specified row.
RowDeselected(UITableView, NSIndexPath)
Indicates that the specified row has been deselected.
RowHighlighted(UITableView, NSIndexPath)
Indicates that the specified row has been highlighted.
RowSelected(UITableView, NSIndexPath)
Indicates that the specified row has been selected.
RowsInSection(UITableView, Int32) : Int32
The number of rows in the specified section.
RowUnhighlighted(UITableView, NSIndexPath)
Indicates that the specified row has been unhighlighted.
ScrollAnimationEnded(UIScrollView)
Indicates that the animation associated with scrolling has completed.
Scrolled(UIScrollView)
Indicates that the view has scrolled.
ScrolledToTop(UIScrollView)
Indicates that the view has scrolled all the way to its top.
SectionFor(UITableView, String, Int32) : Int32
The index of the section for the specified title and section title index.
SectionIndexTitles(UITableView) : String[]
The section title indices for the UITableView.
ShouldHighlightRow(UITableView, NSIndexPath) : Boolean
Whether the specified row should be highlighted.
ShouldIndentWhileEditing(UITableView, NSIndexPath) : Boolean
Whether the specified row should be indented during an editing operation.
ShouldScrollToTop(UIScrollView) : Boolean
Delegate invoked by the object to get a value.
ShouldShowMenu(UITableView, NSIndexPath) : Boolean
Whether the editing menu should be shown for the specified row.
ShouldUpdateFocus(UITableView, UITableViewFocusUpdateContext) : Boolean
Called prior to the tableView either losing or receiving focus. If either focus environment returns false, the focus update is canceled.
TitleForDeleteConfirmation(UITableView, NSIndexPath) : String
The title for the delete-confirmation button.
TitleForFooter(UITableView, Int32) : String
The title for the footer view in the specified section.
TitleForHeader(UITableView, Int32) : String
The title for the header view in the specified section.
ViewForZoomingInScrollView(UIScrollView) : UIView
Delegate invoked by the object to get a value.
WillBeginEditing(UITableView, NSIndexPath)
Indicates that editing is about to begin.
WillDeselectRow(UITableView, NSIndexPath) : NSIndexPath
Indicates that a row is about to be deselected.
WillDisplay(UITableView, UITableViewCell, NSIndexPath)
Indicates that a cell is about to be displayed.
WillDisplayFooterView(UITableView, UIView, Int32)
Indicates that a footer view is about to be displayed.
WillDisplayHeaderView(UITableView, UIView, Int32)
Indicates that a header view is about to be displayed.
WillEndDragging(UIScrollView, PointF, ref PointF)
Indicates that dragging is about to end.
WillSelectRow(UITableView, NSIndexPath) : NSIndexPath
Indicates that a row is about to be selected.
ZoomingEnded(UIScrollView, UIView, Single)
Indicates that zooming has completed.
ZoomingStarted(UIScrollView, UIView)
Indicates that zooming has begun.