Share via


UISearchDisplayDelegate_Extensions 類別

定義

介面的 IUISearchDisplayDelegate 擴充方法,以支援來自 UISearchDisplayDelegate 通訊協定的所有方法。

public static class UISearchDisplayDelegate_Extensions
type UISearchDisplayDelegate_Extensions = class
繼承
UISearchDisplayDelegate_Extensions

備註

IUISearchDisplayDelegate 擴充方法可讓開發人員將介面的實例視為具有原始 UISearchDisplayDelegate 通訊協定的所有選擇性方法。 由於介面只包含必要的成員,這些擴充方法可讓開發人員呼叫通訊協定的選擇性成員。

方法

DidBeginSearch(IUISearchDisplayDelegate, UISearchDisplayController)

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

DidEndSearch(IUISearchDisplayDelegate, UISearchDisplayController)

表示搜尋已結束。

DidHideSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

表示控制器會隱藏其結果的資料表檢視。

DidLoadSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

表示控制器已載入其 UITableView 結果。

DidShowSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

表示控制器已開始顯示其 UITableView 結果。

ShouldReloadForSearchScope(IUISearchDisplayDelegate, UISearchDisplayController, nint)

是否應該重載資料,因為搜尋選項有所變更。

ShouldReloadForSearchString(IUISearchDisplayDelegate, UISearchDisplayController, String)

是否應該重載資料,因為搜尋字串中有變更。

WillBeginSearch(IUISearchDisplayDelegate, UISearchDisplayController)

表示搜尋即將啟動。

WillEndSearch(IUISearchDisplayDelegate, UISearchDisplayController)

表示搜尋即將完成。

WillHideSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

表示控制器即將隱藏其 UITableView 的結果。

WillShowSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

表示控制器即將顯示其 UITableView 結果。

WillUnloadSearchResults(IUISearchDisplayDelegate, UISearchDisplayController, UITableView)

表示控制器即將卸載其 UITableView 的結果。

適用於