Bewerken

Delen via


IUIPickerViewDataSource Interface

Definition

Interface representing the required methods (if any) of the protocol UIPickerViewDataSource.

[Foundation.Protocol(Name="UIPickerViewDataSource", WrapperType=typeof(UIKit.UIPickerViewDataSourceWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIPickerViewDataSource : IDisposable, ObjCRuntime.INativeObject
type IUIPickerViewDataSource = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIPickerViewDataSource.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIPickerViewDataSource protocol.

Optional methods (if any) are provided by the T:UIKit.UIPickerViewDataSource_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetComponentCount(UIPickerView)

Returns the number of components.

GetRowsInComponent(UIPickerView, nint)

The number of rows in the specified component.

Applies to