iOS Guides | Samples

MonoTouch.UIKit.UIPickerViewDelegate_Extensions Class

Extension methods to the IUIPickerViewDelegate interface to support all the methods from the UIPickerViewDelegate protocol.

See Also: UIPickerViewDelegate_Extensions


public static class UIPickerViewDelegate_Extensions


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


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UIPickerViewDelegate_Extensions are listed below.

See Also: Object

Public Methods

GetAttributedTitle(this IUIPickerViewDelegate, UIPickerView, Int32, Int32) : NSAttributedString
Method invoked to get an attributed string for a particular component in the picker view.
GetComponentWidth(this IUIPickerViewDelegate, UIPickerView, Int32) : Single
The width of the component at the specified index.
GetRowHeight(this IUIPickerViewDelegate, UIPickerView, Int32) : Single
The height of the component at the specified index.
GetTitle(this IUIPickerViewDelegate, UIPickerView, Int32, Int32) : String
The title of the specified component in the specified row.
GetView(this IUIPickerViewDelegate, UIPickerView, Int32, Int32, UIView) : UIView
Retrieves the view for a given row and component. The last argument is the previously-used UIView, which is now hidden and cached.
Selected(this IUIPickerViewDelegate, UIPickerView, Int32, Int32)
Indicates that the user has selected a row in the component.