iOS Guides | Samples

UIKit.UIPickerViewModel.GetComponentCount Method

The number of components in the specified UIPickerView.

Syntax

[Foundation.Export("numberOfComponentsInPickerView:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nint GetComponentCount (UIPickerView picker)

Parameters

pickerView

Requirements

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