Upravit

Sdílet prostřednictvím


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 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

AccessoryButtonTapped(IUITableViewDelegate, UITableView, NSIndexPath)

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

AccessoryForRow(IUITableViewDelegate, UITableView, NSIndexPath)

Developers should not use this deprecated method.

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.

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.

DidEndEditing(IUITableViewDelegate, UITableView, NSIndexPath)

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

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, nint)

The estimated height of the footer of the specified section.

EstimatedHeightForHeader(IUITableViewDelegate, UITableView, nint)

The estimated height of the header of the specified section.

FooterViewDisplayingEnded(IUITableViewDelegate, UITableView, UIView, nint)

Indicates that the footerView of the specified section has been removed.

GetHeightForFooter(IUITableViewDelegate, UITableView, nint)

The height of the footer for the specified section.

GetHeightForHeader(IUITableViewDelegate, UITableView, nint)

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.

GetTrailingSwipeActionsConfiguration(IUITableViewDelegate, UITableView, NSIndexPath)

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

GetViewForFooter(IUITableViewDelegate, UITableView, nint)

The view used for the footer of the specified section.

GetViewForHeader(IUITableViewDelegate, UITableView, nint)

The view used for the header of the specified section.

HeaderViewDisplayingEnded(IUITableViewDelegate, UITableView, UIView, nint)

Indicates that the header of the specified section has been removed.

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.

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.

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.

WillDisplayFooterView(IUITableViewDelegate, UITableView, UIView, nint)

Indicates that the footer view for the specified section is about to be shown.

WillDisplayHeaderView(IUITableViewDelegate, UITableView, UIView, nint)

Indicates that the header view of the specified section is about to be shown.

WillSelectRow(IUITableViewDelegate, UITableView, NSIndexPath)

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

Applies to