IUIPickerViewModel Interface

Definition

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

[Foundation.Protocol(IsInformal=true, Name="UIPickerViewModel", WrapperType=typeof(UIKit.UIPickerViewModelWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIPickerViewModel : IDisposable, UIKit.IUIPickerViewDataSource, UIKit.IUIPickerViewDelegate
type IUIPickerViewModel = interface
    interface INativeObject
    interface IDisposable
    interface IUIPickerViewDataSource
    interface IUIPickerViewDelegate
Derived
Attributes
Implements

Remarks

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

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 UIPickerViewModel protocol.

Optional methods (if any) are provided by the T:UIKit.UIPickerViewModel_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.

(Inherited from IUIPickerViewDataSource)
GetRowsInComponent(UIPickerView, nint)

The number of rows in the specified component.

(Inherited from IUIPickerViewDataSource)

Extension Methods

GetAttributedTitle(IUIPickerViewDelegate, UIPickerView, nint, nint)

Method invoked to get an attributed string for a particular component in the picker view.

GetComponentWidth(IUIPickerViewDelegate, UIPickerView, nint)

The width of the component at the specified index.

GetRowHeight(IUIPickerViewDelegate, UIPickerView, nint)

The height of the component at the specified index.

GetTitle(IUIPickerViewDelegate, UIPickerView, nint, nint)

The title of the specified component in the specified row.

GetView(IUIPickerViewDelegate, UIPickerView, nint, nint, UIView)
Selected(IUIPickerViewDelegate, UIPickerView, nint, nint)

Indicates that the user has selected a row in the component.

Applies to