# InfoBarProps

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

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

```rust
trait InfoBarProps: ElementBuilder
```

The properties and routed events of `InfoBar`.

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

## Members

- [`is_open`](#function-is_open)
- [`title`](#function-title)
- [`message`](#function-message)
- [`severity`](#function-severity)
- [`icon_source`](#function-icon_source)
- [`is_icon_visible`](#function-is_icon_visible)
- [`is_closable`](#function-is_closable)
- [`close_button_style`](#function-close_button_style)
- [`close_button_command`](#function-close_button_command)
- [`close_button_command_parameter`](#function-close_button_command_parameter)
- [`action_button`](#function-action_button)

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

### is_open

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

Sets `InfoBar::is_open_property`.

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

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

### title

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

Sets `InfoBar::title_property`.

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

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

### message

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

Sets `InfoBar::message_property`.

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

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

### severity

```rust
fn severity<M>(self: Self, value: impl IntoProp<ferroui_controls::InfoBarSeverity, M>) -> Self
```

Sets `InfoBar::severity_property`.

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

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

### icon_source

```rust
fn icon_source<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::IconSource>>, M>) -> Self
```

Sets `InfoBar::icon_source_property`.

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

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

### is_icon_visible

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

Sets `InfoBar::is_icon_visible_property`.

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

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

### is_closable

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

Sets `InfoBar::is_closable_property`.

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

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

### close_button_style

```rust
fn close_button_style<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self
```

Sets `InfoBar::close_button_style_property`.

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

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

### close_button_command

```rust
fn close_button_command<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self
```

Sets `InfoBar::close_button_command_property`.

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

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

### close_button_command_parameter

```rust
fn close_button_command_parameter<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
```

Sets `InfoBar::close_button_command_parameter_property`.

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

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

### action_button

```rust
fn action_button<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Button>>, M>) -> Self
```

Sets `InfoBar::action_button_property`.

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

## Trait implementations

- [`InfoBarProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-infobarprops/)

## Availability

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