iOS Guides | Samples

UIKit.UIPickerViewDelegate Class

Class that receives event notifications from the UIPickerView.

See Also: UIPickerViewDelegate


[Foundation.Register("UIPickerViewDelegate", false)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public class UIPickerViewDelegate : NSObject, IDisposable, IUIPickerViewDelegate

Related content


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of UIKit.UIPickerViewDelegate are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

GetAttributedTitle(UIPickerView, nint, nint) : NSAttributedString
Method invoked to get an attributed string for a particular component in the picker view.
GetComponentWidth(UIPickerView, nint) : nfloat
The width of the component at the specified index.
GetRowHeight(UIPickerView, nint) : nfloat
The height of the component at the specified index.
GetTitle(UIPickerView, nint, nint) : String
The title of the specified component in the specified row.
GetView(UIPickerView, nint, nint, UIView) : UIView
The UIView of the specified in .
Selected(UIPickerView, nint, nint)
Indicates that the user has selected a row in the component.