Share via


UITableViewDelegate_Extensions Class

Definition

Extension methods to the IUITableViewDelegate interface to support all the methods from the UITableViewDelegate protocol.

public static class UITableViewDelegate_Extensions
type UITableViewDelegate_Extensions = class
Inheritance
UITableViewDelegate_Extensions

Remarks

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

Methods

Name Description
AccessoryButtonTapped(IUITableViewDelegate, UITableView, NSIndexPath)

Indictes that the user has tapped the accessory / disclosure buttom at the specified indexPath.

CanFocusRow(IUITableViewDelegate, UITableView, NSIndexPath)

Whether the row at the specified indexPath may receive focus.

CanPerformAction(IUITableViewDelegate, UITableView, Selector, NSIndexPath, NSObject)

Whether the cell at the specified indexPath can perform the specified Copy or Paste operation.

CanPerformPrimaryAction(IUITableViewDelegate, UITableView, NSIndexPath)
CellDisplayingEnded(IUITableViewDelegate, UITableView, UITableViewCell, NSIndexPath)

Indicates that the cell has just been removed.

CustomizeMoveTarget(IUITableViewDelegate, UITableView, NSIndexPath, NSIndexPath)

Used to change a cell move destination, for example, to prevent dropping a cell in a certain position.

DidBeginMultipleSelectionInteraction(IUITableViewDelegate, UITableView, NSIndexPath)
DidEndEditing(IUITableViewDelegate, UITableView, NSIndexPath)

Indicates that editing of the cell at the specified indexPath has finished.

DidEndMultipleSelectionInteraction(IUITableViewDelegate, UITableView)
DidUpdateFocus(IUITableViewDelegate, UITableView, UITableViewFocusUpdateContext, UIFocusAnimationCoordinator)

Indicates that the focus changed as detailed in the context.

EditActionsForRow(IUITableViewDelegate, UITableView, NSIndexPath)

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(IUITableViewDelegate, UITableView, NSIndexPath)

The UITableViewCellEditingStyle for the specified indexPath.

EstimatedHeight(IUITableViewDelegate, UITableView, NSIndexPath)

An estimate of the height for the specified indexPath. Implementations should perform minimal calculation, as it is called repeatedly.

EstimatedHeightForFooter(IUITableViewDelegate, UITableView, IntPtr)

The estimated height of the footer for the specified section.

EstimatedHeightForHeader(IUITableViewDelegate, UITableView, IntPtr)

The estimated height of the header for the specified section.

FooterViewDisplayingEnded(IUITableViewDelegate, UITableView, UIView, IntPtr)

Called when a section footer view is removed from the table (for instance, due to scrolling).

GetContextMenuConfiguration(IUITableViewDelegate, UITableView, NSIndexPath, CGPoint)
GetHeightForFooter(IUITableViewDelegate, UITableView, IntPtr)

Called to determine the height of the footer for the section specified by section.

GetHeightForHeader(IUITableViewDelegate, UITableView, IntPtr)

The height of the header for the specified section.

GetHeightForRow(IUITableViewDelegate, UITableView, NSIndexPath)

The height of the cell at the specified indexPath.

GetIndexPathForPreferredFocusedView(IUITableViewDelegate, UITableView)

The index path of the table's preferred focus view.

GetLeadingSwipeActionsConfiguration(IUITableViewDelegate, UITableView, NSIndexPath)

Returns the swipe action configuration for swipes that begin from the leading edge.

GetPreviewForDismissingContextMenu(IUITableViewDelegate, UITableView, UIContextMenuConfiguration)
GetPreviewForHighlightingContextMenu(IUITableViewDelegate, UITableView, UIContextMenuConfiguration)
GetSelectionFollowsFocusForRow(IUITableViewDelegate, UITableView, NSIndexPath)
GetTrailingSwipeActionsConfiguration(IUITableViewDelegate, UITableView, NSIndexPath)

Returns the swipe action configuration for swipes that begin from the trailing edge.

GetViewForFooter(IUITableViewDelegate, UITableView, IntPtr)

Returns a view object to display at the end of the given section.

GetViewForHeader(IUITableViewDelegate, UITableView, IntPtr)

Returns a view object to display at the start of the given section.

HeaderViewDisplayingEnded(IUITableViewDelegate, UITableView, UIView, IntPtr)

Called when a section header is removed from a table (for instance, due to scrolling).

IndentationLevel(IUITableViewDelegate, UITableView, NSIndexPath)

The indentation level for the cell at the specified indexPath.

PerformAction(IUITableViewDelegate, UITableView, Selector, NSIndexPath, NSObject)

Performs the specified Copy or Paste action.

PerformPrimaryAction(IUITableViewDelegate, UITableView, NSIndexPath)
RowDeselected(IUITableViewDelegate, UITableView, NSIndexPath)

Indicates that the cell at the specified indexPath has been deselected.

RowHighlighted(IUITableViewDelegate, UITableView, NSIndexPath)

Indicates that the cell at the specified indexPath has been highlighted.

RowSelected(IUITableViewDelegate, UITableView, NSIndexPath)

Indicates that the call at the specified indexPath has been selected.

RowUnhighlighted(IUITableViewDelegate, UITableView, NSIndexPath)

Indicates that the cell at the specified indexPath has been unhighlighted.

ShouldBeginMultipleSelectionInteraction(IUITableViewDelegate, UITableView, NSIndexPath)
ShouldHighlightRow(IUITableViewDelegate, UITableView, NSIndexPath)

Whether the cell at the specified indexPath should be highlighted.

ShouldIndentWhileEditing(IUITableViewDelegate, UITableView, NSIndexPath)

Whether the cell at the specified indexPath should be indented while it is being edited.

ShouldShowMenu(IUITableViewDelegate, UITableView, NSIndexPath)

Whether the cell at the specified rowAtIndexPath should show an action menu.

ShouldSpringLoadRow(IUITableViewDelegate, UITableView, NSIndexPath, IUISpringLoadedInteractionContext)

Method that is called to indicate whether the identified row should springload in the specified context.

ShouldUpdateFocus(IUITableViewDelegate, UITableView, UITableViewFocusUpdateContext)

TCalled prior to the tableView either losing or receiving focus. If either focus environment returns false, the focus update is canceled.

TitleForDeleteConfirmation(IUITableViewDelegate, UITableView, NSIndexPath)

When overridden, changes the default title of the delete confirmation button.

WillBeginEditing(IUITableViewDelegate, UITableView, NSIndexPath)

Indicates that the cell at the specified indexPath is about to be edited.

WillDeselectRow(IUITableViewDelegate, UITableView, NSIndexPath)

Indicates that the cell at the specified indexPath is about to be deselected.

WillDisplay(IUITableViewDelegate, UITableView, UITableViewCell, NSIndexPath)

Indicates that the cell at the specified indexPath is about to be shown.

WillDisplayContextMenu(IUITableViewDelegate, UITableView, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating)
WillDisplayFooterView(IUITableViewDelegate, UITableView, UIView, IntPtr)

Called prior to the display of a footer view for a section.

WillDisplayHeaderView(IUITableViewDelegate, UITableView, UIView, IntPtr)

Called prior to the display of a header view for a section.

WillEndContextMenuInteraction(IUITableViewDelegate, UITableView, UIContextMenuConfiguration, IUIContextMenuInteractionAnimating)
WillPerformPreviewAction(IUITableViewDelegate, UITableView, UIContextMenuConfiguration, IUIContextMenuInteractionCommitAnimating)
WillSelectRow(IUITableViewDelegate, UITableView, NSIndexPath)

Indicates the the cell at the specified indexPath is about to be selected.

Applies to