UITableViewDataSource_Extensions UITableViewDataSource_Extensions Class

Definition

Extension methods to the IUITableViewDataSource interface to support all the methods from the UITableViewDataSource protocol.

public static class UITableViewDataSource_Extensions
type UITableViewDataSource_Extensions = class
Inheritance
UITableViewDataSource_ExtensionsUITableViewDataSource_Extensions

Remarks

The extension methods for IUITableViewDataSource allow developers to treat instances of the interface as having all the optional methods of the original UITableViewDataSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

CanEditRow(IUITableViewDataSource, UITableView, NSIndexPath) CanEditRow(IUITableViewDataSource, UITableView, NSIndexPath)

Whether the row located at should be editable.

CanMoveRow(IUITableViewDataSource, UITableView, NSIndexPath) CanMoveRow(IUITableViewDataSource, UITableView, NSIndexPath)

Whether the row located at can be moved to another location in the table view.

CommitEditingStyle(IUITableViewDataSource, UITableView, UITableViewCellEditingStyle, NSIndexPath) CommitEditingStyle(IUITableViewDataSource, UITableView, UITableViewCellEditingStyle, NSIndexPath)

Commits the insertion or deletion of the specified row.

MoveRow(IUITableViewDataSource, UITableView, NSIndexPath, NSIndexPath) MoveRow(IUITableViewDataSource, UITableView, NSIndexPath, NSIndexPath)

Called when a row has been moved so that the data source can 'implement' the changed row position that has been performed in the user interface. This ensures the data is kept in-sync with what is being displayed.

NumberOfSections(IUITableViewDataSource, UITableView) NumberOfSections(IUITableViewDataSource, UITableView)

Returns the number of sections that are required to display the data.

SectionFor(IUITableViewDataSource, UITableView, String, nint) SectionFor(IUITableViewDataSource, UITableView, String, nint)

Returns the index of the section with the given and .

SectionIndexTitles(IUITableViewDataSource, UITableView) SectionIndexTitles(IUITableViewDataSource, UITableView)

Returns an array of titles to be displayed as an index on the table view.

TitleForFooter(IUITableViewDataSource, UITableView, nint) TitleForFooter(IUITableViewDataSource, UITableView, nint)

Called to populate the footer for the specified section.

TitleForHeader(IUITableViewDataSource, UITableView, nint) TitleForHeader(IUITableViewDataSource, UITableView, nint)

Called to populate the header for the specified section.

Applies to