共用方式為


UIPickerViewDelegate_Extensions 類別

定義

介面的 IUIPickerViewDelegate 擴充方法,以支援通訊 UIPickerViewDelegate 協定中的所有方法。

public static class UIPickerViewDelegate_Extensions
type UIPickerViewDelegate_Extensions = class
繼承
UIPickerViewDelegate_Extensions

備註

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

方法

GetAttributedTitle(IUIPickerViewDelegate, UIPickerView, nint, nint)

叫用方法,以取得選擇器檢視中特定元件的屬性字串。

GetComponentWidth(IUIPickerViewDelegate, UIPickerView, nint)

位於指定索引處之元件的寬度。

GetRowHeight(IUIPickerViewDelegate, UIPickerView, nint)

位於指定索引處的元件高度。

GetTitle(IUIPickerViewDelegate, UIPickerView, nint, nint)

指定資料列中指定元件的標題。

GetView(IUIPickerViewDelegate, UIPickerView, nint, nint, UIView)

介面的 IUIPickerViewDelegate 擴充方法,以支援通訊 UIPickerViewDelegate 協定中的所有方法。

Selected(IUIPickerViewDelegate, UIPickerView, nint, nint)

表示使用者已選取元件中的資料列。

適用於