iOS Guides | Samples

MonoTouch.UIKit.UIPickerViewDelegate Class

Class that receives event notifications from the UIPickerView.

See Also: UIPickerViewDelegate

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UIPickerViewDelegate", false)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIPickerViewDelegate : NSObject, IUIPickerViewDelegate, IDisposable

Related content

Requirements

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

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

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

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