A Picker is a control for selecting custom items such as text, images, or colors. The image below shows two Picker controls with customized content.
Picker controls support several different types, which are specified using the kind property. The default type is PickerKind::Default, which lets the OS determine the type for the control. The PickerKind::List and PickerKind::Expandable types are also supported.
The appearance of a Picker largely depends on its type and contents. Because the contents of a Picker are customized, the appearance can vary greatly.
- The width is manually adjustable using the minWidth, maxWidth, and preferredWidth properties.
- The height of an expanded Picker varies based on the number of rows, and the device. An all-touch device displays up to five rows before scrolling, and a device with a physical keyboard displays up to three rows.
- The height of a row is fixed and can't be changed.
- You cannot use the leftPadding, rightPadding, topPadding, and bottomPadding properties on this control.
Last modified: 2015-03-31