Picker
Inheritance: Element -> NavigableElement -> VisualElement -> View Xamarin.Forms documentation: Picker API / Guide
For details on how the control actually works, please refer to the Xamarin.Forms documentation.
Constructors
Constructors | Description |
---|---|
Picker(items: string list, selectedIndex: int, onSelectedIndexChanged: int -> ‘msg) | Defines a Picker widget with items list, selected index and onSelectedIndexChanged event |
Properties
Properties | Description |
---|---|
characterSpacing(value: float) | Sets the spacing between each character of the picker |
horizontalTextAlignment(value: TextAlignment) | Sets the horizontal text alignment of the picker |
verticalTextAlignment(value: TextAlignment) | Sets the vertical text alignment of the picker |
font(?size: float, ?namedSize: NamedSize, ?attributes: FontAttributes, ?fontFamily: string) | Sets the font family used |
textColor(light: FabColor, ?dark: FabColor) | Sets the text color depending if light or dark mode |
textTransform(value: TextTransform) | Sets the text transformation (lowercase, uppercase) to apply on the text |
title(value: string) | Sets the title of the picker |
titleColor(light: FabColor, ?dark: FabColor) | Sets the title color depending if light or dark mode |
reference(value: ViewRef<Picker>) | Sets a |
iOS-specific Properties
Properties | Description |
---|---|
updateMode(value: iOSSpecific.UpdateMode) | Sets the update mode (Immediately or WhenFinished) of the picker |
Usages
Get access to the underlying Xamarin.Forms.Picker
Last updated