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

Syntax

public static class UIPickerViewDelegate_Extensions

Remarks

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.

Requirements

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

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

See Also: Object

Public Methods

static
GetAttributedTitle(this IUIPickerViewDelegate, UIPickerView, Int32, Int32) : NSAttributedString
Method invoked to get an attributed string for a particular component in the picker view.
static
GetComponentWidth(this IUIPickerViewDelegate, UIPickerView, Int32) : Single
The width of the component at the specified index.
static
GetRowHeight(this IUIPickerViewDelegate, UIPickerView, Int32) : Single
The height of the component at the specified index.
static
GetTitle(this IUIPickerViewDelegate, UIPickerView, Int32, Int32) : String
The title of the specified component in the specified row.
static
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.
static
Selected(this IUIPickerViewDelegate, UIPickerView, Int32, Int32)
Indicates that the user has selected a row in the component.