# DatePickerProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-datepickerprops/

**trait** · [`ferroui-view`](/docs/0.5.0/api/ferroui-view/) · v0.5.0

```rust
trait DatePickerProps: ElementBuilder
```

The properties and routed events of `DatePicker`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3467)

## Members

- [`day_format`](#function-day_format)
- [`day_visible`](#function-day_visible)
- [`max_year`](#function-max_year)
- [`min_year`](#function-min_year)
- [`month_format`](#function-month_format)
- [`month_visible`](#function-month_visible)
- [`year_format`](#function-year_format)
- [`year_visible`](#function-year_visible)
- [`vertical_content_alignment`](#function-vertical_content_alignment)
- [`selected_date`](#function-selected_date)

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

### day_format

```rust
fn day_format<M>(self: Self, value: impl IntoProp<String, M>) -> Self
```

Sets `DatePicker::day_format_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3469)

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

### day_visible

```rust
fn day_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `DatePicker::day_visible_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3474)

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

### max_year

```rust
fn max_year<M>(self: Self, value: impl IntoProp<ferroui_base::utilities::DateTimeOffset, M>) -> Self
```

Sets `DatePicker::max_year_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3479)

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

### min_year

```rust
fn min_year<M>(self: Self, value: impl IntoProp<ferroui_base::utilities::DateTimeOffset, M>) -> Self
```

Sets `DatePicker::min_year_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3484)

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

### month_format

```rust
fn month_format<M>(self: Self, value: impl IntoProp<String, M>) -> Self
```

Sets `DatePicker::month_format_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3489)

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

### month_visible

```rust
fn month_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `DatePicker::month_visible_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3494)

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

### year_format

```rust
fn year_format<M>(self: Self, value: impl IntoProp<String, M>) -> Self
```

Sets `DatePicker::year_format_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3499)

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

### year_visible

```rust
fn year_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `DatePicker::year_visible_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3504)

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

### vertical_content_alignment

```rust
fn vertical_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self
```

Sets `DatePicker::vertical_content_alignment_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3509)

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

### selected_date

```rust
fn selected_date<M>(self: Self, value: impl IntoProp<Option<ferroui_base::utilities::DateTimeOffset>, M>) -> Self
```

Sets `DatePicker::selected_date_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3514)

## Trait implementations

- [`DatePickerProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-datepickerprops/)

## Availability

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