# ComboBoxProps

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

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

```rust
trait ComboBoxProps: ElementBuilder
```

The properties and routed events of `ComboBox`.

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

## Members

- [`is_drop_down_open`](#function-is_drop_down_open)
- [`is_editable`](#function-is_editable)
- [`max_drop_down_height`](#function-max_drop_down_height)
- [`placeholder_text`](#function-placeholder_text)
- [`placeholder_foreground`](#function-placeholder_foreground)
- [`horizontal_content_alignment`](#function-horizontal_content_alignment)
- [`vertical_content_alignment`](#function-vertical_content_alignment)
- [`text`](#function-text)
- [`selection_box_item_template`](#function-selection_box_item_template)

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

### is_drop_down_open

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

Sets `ComboBox::is_drop_down_open_property`.

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

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

### is_editable

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

Sets `ComboBox::is_editable_property`.

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

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

### max_drop_down_height

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

Sets `ComboBox::max_drop_down_height_property`.

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

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

### placeholder_text

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

Sets `ComboBox::placeholder_text_property`.

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

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

### placeholder_foreground

```rust
fn placeholder_foreground<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `ComboBox::placeholder_foreground_property`.

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

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

### horizontal_content_alignment

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

Sets `ComboBox::horizontal_content_alignment_property`.

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

<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 `ComboBox::vertical_content_alignment_property`.

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

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

### text

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

Sets `ComboBox::text_property`.

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

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

### selection_box_item_template

```rust
fn selection_box_item_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
```

Sets `ComboBox::selection_box_item_template_property`.

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

## Trait implementations

- [`ComboBoxProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-comboboxprops/)

## Availability

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