iOS Guides | Samples

MonoTouch.UIKit.UIPickerViewDataSource Class

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

See Also: UIPickerViewDataSource

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[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

Requirements

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

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

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