DatePicker
Inheritance: Element -> NavigableElement -> VisualElement -> View Xamarin.Forms documentation: DatePicker API / Guide
For details on how the control actually works, please refer to the Xamarin.Forms documentation.
Constructors
Constructors | Description |
---|---|
DatePicker(date: DateTime, onDateSelected: DateTime -> ‘msg) | Defines a DatePicker widget with a date and onDateSelected event |
Properties
Properties | Description |
---|---|
characterSpacing(value: float) | Sets the spacing between each character of the date picker |
font(?size: float, ?namedSize: NamedSize, ?attributes: FontAttributes, ?fontFamily: string) | Sets the font family used |
format(value: string) | Sets the format of the date picker |
minimumDate(value: DateTime) | Sets the minimum date of the date picker |
maximumDate(value: DateTime) | Sets the maximum date of the date picker |
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 |
reference(value: ViewRef<DatePicker>) | Sets a |
iOS-specific Properties
Properties | Description |
---|---|
updateMode(value: iOSSpecific.UpdateMode) | Sets the update mode (Immediately or WhenFinished) of the date picker |
Usages
Get access to the underlying Xamarin.Forms.DatePicker
Last updated