Share via


IUITableViewDelegate 介面

定義

如果通訊協定 UITableViewDelegate 有任何) ,則表示必要方法的介面 (。

[Foundation.Protocol(Name="UITableViewDelegate", WrapperType=typeof(UIKit.UITableViewDelegateWrapper))]
public interface IUITableViewDelegate : IDisposable, UIKit.IUIScrollViewDelegate
type IUITableViewDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IUIScrollViewDelegate
衍生
屬性
實作

備註

如果來自 所 UITableViewDelegate 定義的通訊協定有任何) ,這個介面會包含必要方法 (。

如果開發人員建立實作此介面的類別,則實作方法會自動匯出至 Objective-C,其中包含通訊協定中所定義方法的 UITableViewDelegate 相符簽章。

選擇性方法 (如果類別提供 UITableViewDelegate_Extensions 任何) 做為介面的擴充方法,可讓開發人員在通訊協定上叫用任何選擇性方法。

屬性

Handle

處理 unmanaged 物件標記法) (指標。

(繼承來源 INativeObject)

擴充方法

DecelerationEnded(IUIScrollViewDelegate, UIScrollView)

表示與捲動事件相關的減速已結束。

DecelerationStarted(IUIScrollViewDelegate, UIScrollView)

表示捲動事件的減速已開始。

DidChangeAdjustedContentInset(IUIScrollViewDelegate, UIScrollView)

在內嵌值變更時呼叫的方法。

DidZoom(IUIScrollViewDelegate, UIScrollView)

表示指定的 scrollView 已縮放。

DraggingEnded(IUIScrollViewDelegate, UIScrollView, Boolean)

表示拖曳已完成。

DraggingStarted(IUIScrollViewDelegate, UIScrollView)

表示已開始拖曳。

ScrollAnimationEnded(IUIScrollViewDelegate, UIScrollView)

表示與捲動相關的所有動畫都已完成。

Scrolled(IUIScrollViewDelegate, UIScrollView)

表示指定的 scrollView 已捲動。

ScrolledToTop(IUIScrollViewDelegate, UIScrollView)

表示指定的 scrollView 捲動已結束于頂端。

ShouldScrollToTop(IUIScrollViewDelegate, UIScrollView)

是否應該允許捲動至 scrollView 的開頭。

ViewForZoomingInScrollView(IUIScrollViewDelegate, UIScrollView)

要求縮放時要調整的 UIView。

WillEndDragging(IUIScrollViewDelegate, UIScrollView, CGPoint, CGPoint)

表示拖曳即將結束。

ZoomingEnded(IUIScrollViewDelegate, UIScrollView, UIView, nfloat)

表示縮放已完成。

ZoomingStarted(IUIScrollViewDelegate, UIScrollView, UIView)

表示縮放已開始。

AccessoryButtonTapped(IUITableViewDelegate, UITableView, NSIndexPath)

表示使用者已點選配件/洩漏,但在指定的 indexPath 上設定。

AccessoryForRow(IUITableViewDelegate, UITableView, NSIndexPath)

開發人員不應該使用此已被取代的方法。

CanFocusRow(IUITableViewDelegate, UITableView, NSIndexPath)

指定 indexPath 處的資料列是否可接收焦點。

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

指定 indexPath 上的儲存格是否可以執行指定的複製或貼上作業。

CellDisplayingEnded(IUITableViewDelegate, UITableView, UITableViewCell, NSIndexPath)

表示資料格剛移除。

CustomizeMoveTarget(IUITableViewDelegate, UITableView, NSIndexPath, NSIndexPath)

例如,用來變更儲存格移動目的地,以防止在特定位置卸載儲存格。

DidEndEditing(IUITableViewDelegate, UITableView, NSIndexPath)

表示指定的 indexPath 上的儲存格編輯已完成。

DidUpdateFocus(IUITableViewDelegate, UITableView, UITableViewFocusUpdateContext, UIFocusAnimationCoordinator)

表示焦點已變更,如 中所述 context

EditActionsForRow(IUITableViewDelegate, UITableView, NSIndexPath)

傳回在使用者撥動資料表檢視 indexPath 中識別之 tableView 資料列之後所要顯示的資料列動作陣列。

EditingStyleForRow(IUITableViewDelegate, UITableView, NSIndexPath)

指定 indexPath 的 UITableViewCellEditingStyle。

EstimatedHeight(IUITableViewDelegate, UITableView, NSIndexPath)

指定 indexPath 的高度估計值。 實作應該執行最少的計算,因為它會重複呼叫。

EstimatedHeightForFooter(IUITableViewDelegate, UITableView, nint)

指定區段頁尾的估計高度。

EstimatedHeightForHeader(IUITableViewDelegate, UITableView, nint)

所指定區段標頭的估計高度。

FooterViewDisplayingEnded(IUITableViewDelegate, UITableView, UIView, nint)

表示已移除指定區段的 footerView。

GetHeightForFooter(IUITableViewDelegate, UITableView, nint)

指定區段的頁尾高度。

GetHeightForHeader(IUITableViewDelegate, UITableView, nint)

指定區段之標頭的高度。

GetHeightForRow(IUITableViewDelegate, UITableView, NSIndexPath)

位於指定 indexPath 之儲存格的高度。

GetIndexPathForPreferredFocusedView(IUITableViewDelegate, UITableView)

資料表慣用焦點檢視的索引路徑。

GetLeadingSwipeActionsConfiguration(IUITableViewDelegate, UITableView, NSIndexPath)

傳回從前置邊緣開始之撥動的撥動動作組態。

GetTrailingSwipeActionsConfiguration(IUITableViewDelegate, UITableView, NSIndexPath)

傳回從尾端邊緣開始撥動的撥動動作組態。

GetViewForFooter(IUITableViewDelegate, UITableView, nint)

用於指定區段頁尾的檢視。

GetViewForHeader(IUITableViewDelegate, UITableView, nint)

用於指定區段標頭的檢視。

HeaderViewDisplayingEnded(IUITableViewDelegate, UITableView, UIView, nint)

表示已移除指定區段的標頭。

IndentationLevel(IUITableViewDelegate, UITableView, NSIndexPath)

位於指定 indexPath 之儲存格的縮排層級。

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

執行指定的複製或貼上動作。

RowDeselected(IUITableViewDelegate, UITableView, NSIndexPath)

表示指定 indexPath 上的儲存格已取消選取。

RowHighlighted(IUITableViewDelegate, UITableView, NSIndexPath)

表示指定 indexPath 上的儲存格已反白顯示。

RowSelected(IUITableViewDelegate, UITableView, NSIndexPath)

表示已選取位於指定 indexPath 的呼叫。

RowUnhighlighted(IUITableViewDelegate, UITableView, NSIndexPath)

表示位於指定 indexPath 的儲存格尚未顯示。

ShouldHighlightRow(IUITableViewDelegate, UITableView, NSIndexPath)

是否應該反白顯示位於指定 indexPath 的儲存格。

ShouldIndentWhileEditing(IUITableViewDelegate, UITableView, NSIndexPath)

在編輯指定的 indexPath 時,是否應該縮排位於指定 indexPath 的儲存格。

ShouldShowMenu(IUITableViewDelegate, UITableView, NSIndexPath)

指定 rowAtIndexPath 上的儲存格是否應該顯示動作功能表。

ShouldSpringLoadRow(IUITableViewDelegate, UITableView, NSIndexPath, IUISpringLoadedInteractionContext)

呼叫以指出所識別資料列是否應該在指定的內容中 Springload 的方法。

ShouldUpdateFocus(IUITableViewDelegate, UITableView, UITableViewFocusUpdateContext)

在失去或接收焦點之前 tableView ,先進行 TCalled。 如果任一焦點環境傳 false 回 ,則會取消焦點更新。

TitleForDeleteConfirmation(IUITableViewDelegate, UITableView, NSIndexPath)

覆寫時,變更刪除確認按鈕的預設標題。

WillBeginEditing(IUITableViewDelegate, UITableView, NSIndexPath)

表示指定 indexPath 上的儲存格即將編輯。

WillDeselectRow(IUITableViewDelegate, UITableView, NSIndexPath)

表示指定 indexPath 上的儲存格即將取消選取。

WillDisplay(IUITableViewDelegate, UITableView, UITableViewCell, NSIndexPath)

表示指定 indexPath 上的儲存格即將顯示。

WillDisplayFooterView(IUITableViewDelegate, UITableView, UIView, nint)

表示即將顯示指定區段的頁尾檢視。

WillDisplayHeaderView(IUITableViewDelegate, UITableView, UIView, nint)

表示所指定區段的標頭檢視即將顯示。

WillSelectRow(IUITableViewDelegate, UITableView, NSIndexPath)

指出指定 indexPath 上的儲存格即將選取。

適用於