IUIPickerViewDataSource Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for models that provide data to a UIPickerView object.
[Foundation.Protocol(Name="UIPickerViewDataSource", WrapperType=typeof(UIKit.UIPickerViewDataSourceWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetComponentCount", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPickerView) }, ReturnType=typeof(System.IntPtr), Selector="numberOfComponentsInPickerView:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetRowsInComponent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPickerView), typeof(System.IntPtr) }, ReturnType=typeof(System.IntPtr), Selector="pickerView:numberOfRowsInComponent:")]
public interface IUIPickerViewDataSource : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIPickerViewDataSource", WrapperType=typeof(UIKit.UIPickerViewDataSourceWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetComponentCount", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIPickerView) }, ReturnType=typeof(System.IntPtr), Selector="numberOfComponentsInPickerView:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetRowsInComponent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIPickerView), typeof(System.IntPtr) }, ReturnType=typeof(System.IntPtr), Selector="pickerView:numberOfRowsInComponent:")>]
type IUIPickerViewDataSource = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| GetComponentCount(UIPickerView) |
Returns the number of components. |
| GetRowsInComponent(UIPickerView, IntPtr) |
The number of rows in the specified component. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |