# ContactProps

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

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

```rust
trait ContactProps: ElementBuilder
```

The properties and routed events of `Contact`.

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

## Members

- [`id`](#function-id)
- [`first_name`](#function-first_name)
- [`last_name`](#function-last_name)
- [`display_name_override`](#function-display_name_override)
- [`small_display_picture`](#function-small_display_picture)
- [`large_display_picture`](#function-large_display_picture)
- [`source_display_picture`](#function-source_display_picture)
- [`thumbnail`](#function-thumbnail)

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

### id

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

Sets `Contact::id_property`.

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

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

### first_name

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

Sets `Contact::first_name_property`.

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

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

### last_name

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

Sets `Contact::last_name_property`.

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

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

### display_name_override

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

Sets `Contact::display_name_override_property`.

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

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

### small_display_picture

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

Sets `Contact::small_display_picture_property`.

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

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

### large_display_picture

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

Sets `Contact::large_display_picture_property`.

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

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

### source_display_picture

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

Sets `Contact::source_display_picture_property`.

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

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

### thumbnail

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

Sets `Contact::thumbnail_property`.

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

## Trait implementations

- [`ContactProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-contactprops/)

## Availability

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