# MaterialDatePicker

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-themes-material/struct-materialdatepicker/

**struct** · [`ferroui-themes-material`](/docs/0.5.0/api/ferroui-themes-material/) · v0.5.0

```rust
struct MaterialDatePicker
```

Embed directly, or enable `ShowActions` in a dialog/sheet. `SelectedDate` aliases
`SelectedStartDate`; end dates are inclusive. SelectionChanged is raised for edits;
Confirmed/Dismissed let the application own modal lifetime and committed values.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L143)

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`selected_date_property`](#function-selected_date_property)
- [`selected_start_date_property`](#function-selected_start_date_property)
- [`selected_end_date_property`](#function-selected_end_date_property)
- [`displayed_month_property`](#function-displayed_month_property)
- [`is_selection_complete_property`](#function-is_selection_complete_property)
- [`is_year_picker_open_property`](#function-is_year_picker_open_property)
- [`display_mode_property`](#function-display_mode_property)
- [`selection_mode_property`](#function-selection_mode_property)
- [`first_year_property`](#function-first_year_property)
- [`last_year_property`](#function-last_year_property)
- [`culture_property`](#function-culture_property)
- [`first_day_of_week_property`](#function-first_day_of_week_property)
- [`today_property`](#function-today_property)
- [`title_property`](#function-title_property)
- [`show_mode_toggle_property`](#function-show_mode_toggle_property)
- [`show_actions_property`](#function-show_actions_property)
- [`confirm_text_property`](#function-confirm_text_property)
- [`cancel_text_property`](#function-cancel_text_property)
- [`range_calendar_height_property`](#function-range_calendar_height_property)
- [`range_background_property`](#function-range_background_property)
- [`subhead_foreground_property`](#function-subhead_foreground_property)
- [`reduced_motion_property`](#function-reduced_motion_property)
- [`motion_scheme_property`](#function-motion_scheme_property)
- [`selection_changed_event`](#function-selection_changed_event)
- [`confirmed_event`](#function-confirmed_event)
- [`dismissed_event`](#function-dismissed_event)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`state`](#function-state)
- [`selected_date`](#function-selected_date)
- [`selected_start_date`](#function-selected_start_date)
- [`selected_end_date`](#function-selected_end_date)
- [`displayed_month`](#function-displayed_month)
- [`is_selection_complete`](#function-is_selection_complete)
- [`is_year_picker_open`](#function-is_year_picker_open)
- [`display_mode`](#function-display_mode)
- [`set_display_mode`](#function-set_display_mode)
- [`selection_mode`](#function-selection_mode)
- [`set_selection_mode`](#function-set_selection_mode)
- [`first_year`](#function-first_year)
- [`set_first_year`](#function-set_first_year)
- [`last_year`](#function-last_year)
- [`set_last_year`](#function-set_last_year)
- [`culture`](#function-culture)
- [`set_culture`](#function-set_culture)
- [`first_day_of_week`](#function-first_day_of_week)
- [`set_first_day_of_week`](#function-set_first_day_of_week)
- [`today`](#function-today)
- [`set_today`](#function-set_today)
- [`title`](#function-title)
- [`set_title`](#function-set_title)
- [`show_mode_toggle`](#function-show_mode_toggle)
- [`set_show_mode_toggle`](#function-set_show_mode_toggle)
- [`show_actions`](#function-show_actions)
- [`set_show_actions`](#function-set_show_actions)
- [`confirm_text`](#function-confirm_text)
- [`set_confirm_text`](#function-set_confirm_text)
- [`cancel_text`](#function-cancel_text)
- [`set_cancel_text`](#function-set_cancel_text)
- [`range_calendar_height`](#function-range_calendar_height)
- [`set_range_calendar_height`](#function-set_range_calendar_height)
- [`range_background`](#function-range_background)
- [`set_range_background`](#function-set_range_background)
- [`subhead_foreground`](#function-subhead_foreground)
- [`set_subhead_foreground`](#function-set_subhead_foreground)
- [`reduced_motion`](#function-reduced_motion)
- [`set_reduced_motion`](#function-set_reduced_motion)
- [`motion_scheme`](#function-motion_scheme)
- [`set_motion_scheme`](#function-set_motion_scheme)
- [`blackout_dates`](#function-blackout_dates)
- [`set_date_validator`](#function-set_date_validator)
- [`set_year_validator`](#function-set_year_validator)
- [`is_year_selectable`](#function-is_year_selectable)
- [`is_date_selectable`](#function-is_date_selectable)
- [`refresh_selectable_dates`](#function-refresh_selectable_dates)
- [`set_selected_date`](#function-set_selected_date)
- [`set_selected_start_date`](#function-set_selected_start_date)
- [`set_selected_end_date`](#function-set_selected_end_date)
- [`set_selection`](#function-set_selection)
- [`select_date`](#function-select_date)
- [`set_displayed_month`](#function-set_displayed_month)
- [`restore_state`](#function-restore_state)
- [`confirm`](#function-confirm)
- [`dismiss`](#function-dismiss)
- [`input_format`](#function-input_format)
- [`input_error`](#function-input_error)
- [`set_is_year_picker_open`](#function-set_is_year_picker_open)
- [`select_year`](#function-select_year)
- [`navigate_month`](#function-navigate_month)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L166)

<a id="function-to_ref"></a>

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<MaterialDatePicker>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L166)

<a id="function-selected_date_property"></a>

### selected_date_property

```rust
fn selected_date_property() -> &'static DirectProperty<MaterialDatePicker, Option<DateTime>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-selected_start_date_property"></a>

### selected_start_date_property

```rust
fn selected_start_date_property() -> &'static DirectProperty<MaterialDatePicker, Option<DateTime>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-selected_end_date_property"></a>

### selected_end_date_property

```rust
fn selected_end_date_property() -> &'static DirectProperty<MaterialDatePicker, Option<DateTime>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-displayed_month_property"></a>

### displayed_month_property

```rust
fn displayed_month_property() -> &'static DirectProperty<MaterialDatePicker, DateTime>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-is_selection_complete_property"></a>

### is_selection_complete_property

```rust
fn is_selection_complete_property() -> &'static DirectProperty<MaterialDatePicker, bool>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-is_year_picker_open_property"></a>

### is_year_picker_open_property

```rust
fn is_year_picker_open_property() -> &'static DirectProperty<MaterialDatePicker, bool>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-display_mode_property"></a>

### display_mode_property

```rust
fn display_mode_property() -> &'static StyledProperty<MaterialDatePickerMode>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-selection_mode_property"></a>

### selection_mode_property

```rust
fn selection_mode_property() -> &'static StyledProperty<MaterialDateSelectionMode>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-first_year_property"></a>

### first_year_property

```rust
fn first_year_property() -> &'static StyledProperty<i32>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-last_year_property"></a>

### last_year_property

```rust
fn last_year_property() -> &'static StyledProperty<i32>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-culture_property"></a>

### culture_property

```rust
fn culture_property() -> &'static StyledProperty<Option<CultureInfo>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-first_day_of_week_property"></a>

### first_day_of_week_property

```rust
fn first_day_of_week_property() -> &'static StyledProperty<Option<DayOfWeek>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-today_property"></a>

### today_property

```rust
fn today_property() -> &'static StyledProperty<DateTime>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-title_property"></a>

### title_property

```rust
fn title_property() -> &'static StyledProperty<Option<String>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-show_mode_toggle_property"></a>

### show_mode_toggle_property

```rust
fn show_mode_toggle_property() -> &'static StyledProperty<bool>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-show_actions_property"></a>

### show_actions_property

```rust
fn show_actions_property() -> &'static StyledProperty<bool>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-confirm_text_property"></a>

### confirm_text_property

```rust
fn confirm_text_property() -> &'static StyledProperty<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-cancel_text_property"></a>

### cancel_text_property

```rust
fn cancel_text_property() -> &'static StyledProperty<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-range_calendar_height_property"></a>

### range_calendar_height_property

```rust
fn range_calendar_height_property() -> &'static StyledProperty<f64>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-range_background_property"></a>

### range_background_property

```rust
fn range_background_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-subhead_foreground_property"></a>

### subhead_foreground_property

```rust
fn subhead_foreground_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-reduced_motion_property"></a>

### reduced_motion_property

```rust
fn reduced_motion_property() -> &'static StyledProperty<bool>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-motion_scheme_property"></a>

### motion_scheme_property

```rust
fn motion_scheme_property() -> &'static StyledProperty<MaterialMotionScheme>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L171)

<a id="function-selection_changed_event"></a>

### selection_changed_event

```rust
fn selection_changed_event() -> &'static RoutedEvent<RoutedEventArgs>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L197)

<a id="function-confirmed_event"></a>

### confirmed_event

```rust
fn confirmed_event() -> &'static RoutedEvent<RoutedEventArgs>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L198)

<a id="function-dismissed_event"></a>

### dismissed_event

```rust
fn dismissed_event() -> &'static RoutedEvent<RoutedEventArgs>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L199)

<a id="function-construct"></a>

### construct

```rust
fn construct() -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L546)

<a id="function-new"></a>

### new

```rust
fn new() -> Ref<Self>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L571)

<a id="function-state"></a>

### state

```rust
fn state(self: &Self) -> MaterialDatePickerState
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L577)

<a id="function-selected_date"></a>

### selected_date

```rust
fn selected_date(self: &Self) -> Option<DateTime>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L580)

<a id="function-selected_start_date"></a>

### selected_start_date

```rust
fn selected_start_date(self: &Self) -> Option<DateTime>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L583)

<a id="function-selected_end_date"></a>

### selected_end_date

```rust
fn selected_end_date(self: &Self) -> Option<DateTime>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L586)

<a id="function-displayed_month"></a>

### displayed_month

```rust
fn displayed_month(self: &Self) -> DateTime
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L589)

<a id="function-is_selection_complete"></a>

### is_selection_complete

```rust
fn is_selection_complete(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L592)

<a id="function-is_year_picker_open"></a>

### is_year_picker_open

```rust
fn is_year_picker_open(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L595)

<a id="function-display_mode"></a>

### display_mode

```rust
fn display_mode(self: &Self) -> MaterialDatePickerMode
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L598)

<a id="function-set_display_mode"></a>

### set_display_mode

```rust
fn set_display_mode(self: &Self, v: MaterialDatePickerMode)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L601)

<a id="function-selection_mode"></a>

### selection_mode

```rust
fn selection_mode(self: &Self) -> MaterialDateSelectionMode
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L604)

<a id="function-set_selection_mode"></a>

### set_selection_mode

```rust
fn set_selection_mode(self: &Self, v: MaterialDateSelectionMode)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L607)

<a id="function-first_year"></a>

### first_year

```rust
fn first_year(self: &Self) -> i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L610)

<a id="function-set_first_year"></a>

### set_first_year

```rust
fn set_first_year(self: &Self, v: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L613)

<a id="function-last_year"></a>

### last_year

```rust
fn last_year(self: &Self) -> i32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L616)

<a id="function-set_last_year"></a>

### set_last_year

```rust
fn set_last_year(self: &Self, v: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L619)

<a id="function-culture"></a>

### culture

```rust
fn culture(self: &Self) -> CultureInfo
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L622)

<a id="function-set_culture"></a>

### set_culture

```rust
fn set_culture(self: &Self, v: Option<CultureInfo>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L626)

<a id="function-first_day_of_week"></a>

### first_day_of_week

```rust
fn first_day_of_week(self: &Self) -> DayOfWeek
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L629)

<a id="function-set_first_day_of_week"></a>

### set_first_day_of_week

```rust
fn set_first_day_of_week(self: &Self, v: Option<DayOfWeek>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L633)

<a id="function-today"></a>

### today

```rust
fn today(self: &Self) -> DateTime
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L636)

<a id="function-set_today"></a>

### set_today

```rust
fn set_today(self: &Self, v: DateTime)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L639)

<a id="function-title"></a>

### title

```rust
fn title(self: &Self) -> Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L642)

<a id="function-set_title"></a>

### set_title

```rust
fn set_title(self: &Self, v: Option<String>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L645)

<a id="function-show_mode_toggle"></a>

### show_mode_toggle

```rust
fn show_mode_toggle(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L648)

<a id="function-set_show_mode_toggle"></a>

### set_show_mode_toggle

```rust
fn set_show_mode_toggle(self: &Self, v: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L651)

<a id="function-show_actions"></a>

### show_actions

```rust
fn show_actions(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L654)

<a id="function-set_show_actions"></a>

### set_show_actions

```rust
fn set_show_actions(self: &Self, v: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L657)

<a id="function-confirm_text"></a>

### confirm_text

```rust
fn confirm_text(self: &Self) -> String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L660)

<a id="function-set_confirm_text"></a>

### set_confirm_text

```rust
fn set_confirm_text(self: &Self, v: String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L663)

<a id="function-cancel_text"></a>

### cancel_text

```rust
fn cancel_text(self: &Self) -> String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L666)

<a id="function-set_cancel_text"></a>

### set_cancel_text

```rust
fn set_cancel_text(self: &Self, v: String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L669)

<a id="function-range_calendar_height"></a>

### range_calendar_height

```rust
fn range_calendar_height(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L672)

<a id="function-set_range_calendar_height"></a>

### set_range_calendar_height

```rust
fn set_range_calendar_height(self: &Self, v: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L675)

<a id="function-range_background"></a>

### range_background

```rust
fn range_background(self: &Self) -> Option<Rc<dyn IBrush>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L678)

<a id="function-set_range_background"></a>

### set_range_background

```rust
fn set_range_background(self: &Self, v: Option<Rc<dyn IBrush>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L681)

<a id="function-subhead_foreground"></a>

### subhead_foreground

```rust
fn subhead_foreground(self: &Self) -> Option<Rc<dyn IBrush>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L684)

<a id="function-set_subhead_foreground"></a>

### set_subhead_foreground

```rust
fn set_subhead_foreground(self: &Self, v: Option<Rc<dyn IBrush>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L687)

<a id="function-reduced_motion"></a>

### reduced_motion

```rust
fn reduced_motion(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L690)

<a id="function-set_reduced_motion"></a>

### set_reduced_motion

```rust
fn set_reduced_motion(self: &Self, v: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L693)

<a id="function-motion_scheme"></a>

### motion_scheme

```rust
fn motion_scheme(self: &Self) -> MaterialMotionScheme
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L696)

<a id="function-set_motion_scheme"></a>

### set_motion_scheme

```rust
fn set_motion_scheme(self: &Self, v: MaterialMotionScheme)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L699)

<a id="function-blackout_dates"></a>

### blackout_dates

```rust
fn blackout_dates(self: &Self) -> CalendarBlackoutDatesCollection
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L702)

<a id="function-set_date_validator"></a>

### set_date_validator

```rust
fn set_date_validator(self: &Self, policy: Option<Rc<dyn Fn(DateTime) -> bool>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L705)

<a id="function-set_year_validator"></a>

### set_year_validator

```rust
fn set_year_validator(self: &Self, policy: Option<Rc<dyn Fn(i32) -> bool>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L709)

<a id="function-is_year_selectable"></a>

### is_year_selectable

```rust
fn is_year_selectable(self: &Self, year: i32) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L713)

<a id="function-is_date_selectable"></a>

### is_date_selectable

```rust
fn is_date_selectable(self: &Self, date: DateTime) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L717)

<a id="function-refresh_selectable_dates"></a>

### refresh_selectable_dates

```rust
fn refresh_selectable_dates(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L723)

<a id="function-set_selected_date"></a>

### set_selected_date

```rust
fn set_selected_date(self: &Self, date: Option<DateTime>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L728)

<a id="function-set_selected_start_date"></a>

### set_selected_start_date

```rust
fn set_selected_start_date(self: &Self, date: Option<DateTime>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L731)

<a id="function-set_selected_end_date"></a>

### set_selected_end_date

```rust
fn set_selected_end_date(self: &Self, date: Option<DateTime>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L734)

<a id="function-set_selection"></a>

### set_selection

```rust
fn set_selection(self: &Self, start: Option<DateTime>, end: Option<DateTime>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L737)

<a id="function-select_date"></a>

### select_date

```rust
fn select_date(self: &Self, date: DateTime) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L742)

<a id="function-set_displayed_month"></a>

### set_displayed_month

```rust
fn set_displayed_month(self: &Self, date: DateTime)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L751)

<a id="function-restore_state"></a>

### restore_state

```rust
fn restore_state(self: &Self, state: MaterialDatePickerState)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L756)

<a id="function-confirm"></a>

### confirm

```rust
fn confirm(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L764)

<a id="function-dismiss"></a>

### dismiss

```rust
fn dismiss(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L771)

<a id="function-input_format"></a>

### input_format

```rust
fn input_format(self: &Self) -> MaterialDateInputFormat
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L774)

<a id="function-input_error"></a>

### input_error

```rust
fn input_error(self: &Self, end: bool) -> Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L777)

<a id="function-set_is_year_picker_open"></a>

### set_is_year_picker_open

```rust
fn set_is_year_picker_open(self: &Self, open: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L1065)

<a id="function-select_year"></a>

### select_year

```rust
fn select_year(self: &Self, year: i32) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L1107)

<a id="function-navigate_month"></a>

### navigate_month

```rust
fn navigate_month(self: &Self, delta: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/date_picker.rs#L1119)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`InputElementImplExt`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimplext/)
- [`InteractiveImplExt`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimplext/)
- [`LayoutableImplExt`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimplext/)
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`StyledElementImplExt`](/docs/0.5.0/api/ferroui-base/trait-styledelementimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- [`VisualImplExt`](/docs/0.5.0/api/ferroui-base/trait-visualimplext/)
- `ErasedDestructor`
- `IntoEither`
- `CastableFrom<ST, Uninit, Uninit>`
- `CastableFrom<ST, Initialized, Initialized>`
- `Read<Exclusive, BecauseExclusive>`
- [`TemplatedControlImplExt`](/docs/0.5.0/api/ferroui-controls/primitives/trait-templatedcontrolimplext/)
- [`ControlImplExt`](/docs/0.5.0/api/ferroui-controls/trait-controlimplext/)
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<MaterialDatePicker>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`StyledElementImpl`](/docs/0.5.0/api/ferroui-base/trait-styledelementimpl/)
- [`InteractiveImpl`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimpl/)
- [`LayoutableImpl`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimpl/)
- [`InputElementImpl`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimpl/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`ControlImpl`](/docs/0.5.0/api/ferroui-controls/trait-controlimpl/)
- [`VisualImpl`](/docs/0.5.0/api/ferroui-base/trait-visualimpl/)
- [`TemplatedControlImpl`](/docs/0.5.0/api/ferroui-controls/primitives/trait-templatedcontrolimpl/)
- `Drop`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
