iOS Guides | Samples

MonoTouch.UIKit.UIPickerViewDataSource Class

Base class for models that provide data to a UIPickerView object.

See Also: UIPickerViewDataSource


[MonoTouch.Foundation.Register("UIPickerViewDataSource", false)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public abstract class UIPickerViewDataSource : NSObject, IUIPickerViewDataSource, IDisposable

Related content


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

The members of MonoTouch.UIKit.UIPickerViewDataSource 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

GetComponentCount(UIPickerView) : Int32
The number of components in the UIPickerView.
GetRowsInComponent(UIPickerView, Int32) : Int32
The number of rows in the specified component.