DatePicker::Options

Options for creating DatePicker.

Header#include "nativeui/date_picker.h"
Namespacenamespace nu
Typestruct

Properties

int elements (optional)

A bit array of elements to display, default is DatePicker::ELEMENT_YEAR_MONTH_DAY.

Available elements can be found in DatePicker::Element.

bool has_stepper (optional)

Whether to show a stepper in the text field, default is true.

Note that only certain platforms with certain elements can show stepper.