Share via


UIPickerViewDelegate_Extensions Class

Definition

Extension methods to the IUIPickerViewDelegate interface to support all the methods from the UIPickerViewDelegate protocol.

public static class UIPickerViewDelegate_Extensions
type UIPickerViewDelegate_Extensions = class
Inheritance
UIPickerViewDelegate_Extensions

Remarks

The extension methods for IUIPickerViewDelegate interface allow developers to treat instances of the interface as having all the optional methods of the original UIPickerViewDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

Name Description
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