Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey
ListPicker
Represents an list picker.

Summary

Constructors

constructor

Properties

android
ios
items
selectedIndex
152 properties inherited from View
Click to expand

Constructors

constructor

new ListPicker(): ListPicker

Properties

android

android: any
Gets the native [android.widget.NumberPicker](http://developer.android.com/reference/android/widget/NumberPicker.html) that represents the user interface for this component. Valid only when running on Android OS.

ios

ios: any
Gets the native iOS [UIPickerView](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS.

items

items: any
Gets or set the items collection of the ListPicker. The items property can be set to an array or an object defining length and getItem(index) method.

selectedIndex

selectedIndex: number
Gets or sets the selected index.
Previous
LayoutBase