Share via


IUIPickerViewModel Interface

Definition

The model for the UIPickerView.

[Foundation.Protocol(IsInformal=true, Name="UIPickerViewModel", WrapperType=typeof(UIKit.UIPickerViewModelWrapper))]
public interface IUIPickerViewModel : IDisposable, UIKit.IUIPickerViewDataSource, UIKit.IUIPickerViewDelegate
[<Foundation.Protocol(IsInformal=true, Name="UIPickerViewModel", WrapperType=typeof(UIKit.UIPickerViewModelWrapper))>]
type IUIPickerViewModel = interface
    interface INativeObject
    interface IDisposable
    interface IUIPickerViewDataSource
    interface IUIPickerViewDelegate
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
GetAttributedTitle(UIPickerView, IntPtr, IntPtr)

Returns an attributed string that represents the title for the specified row of the specified component of pickerView.

(Inherited from IUIPickerViewDelegate)
GetComponentCount(UIPickerView)

Returns the number of components.

(Inherited from IUIPickerViewDataSource)
GetComponentWidth(UIPickerView, IntPtr)

The width of the component at the specified index.

(Inherited from IUIPickerViewDelegate)
GetRowHeight(UIPickerView, IntPtr)

The height of the component at the specified index.

(Inherited from IUIPickerViewDelegate)
GetRowsInComponent(UIPickerView, IntPtr)

The number of rows in the specified component.

(Inherited from IUIPickerViewDataSource)
GetTitle(UIPickerView, IntPtr, IntPtr)

The title of the specified component in the specified row.

(Inherited from IUIPickerViewDelegate)
GetView(UIPickerView, IntPtr, IntPtr, UIView)

The UIView of the specified component in row.

(Inherited from IUIPickerViewDelegate)
Selected(UIPickerView, IntPtr, IntPtr)

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

(Inherited from IUIPickerViewDelegate)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
GetAttributedTitle(IUIPickerViewDelegate, UIPickerView, IntPtr, IntPtr)

Returns an attributed string that represents the title for the specified row of the specified component of pickerView.

GetComponentWidth(IUIPickerViewDelegate, UIPickerView, IntPtr)

The width of the component at the specified index.

GetRowHeight(IUIPickerViewDelegate, UIPickerView, IntPtr)

The height of the component at the specified index.

GetTitle(IUIPickerViewDelegate, UIPickerView, IntPtr, IntPtr)

The title of the specified component in the specified row.

GetView(IUIPickerViewDelegate, UIPickerView, IntPtr, IntPtr, UIView)

The UIView of the specified component in row.

Selected(IUIPickerViewDelegate, UIPickerView, IntPtr, IntPtr)

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

Applies to

See also