# PersonPictureProps

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

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

```rust
trait PersonPictureProps: ElementBuilder
```

The properties and routed events of `PersonPicture`.

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

## Members

- [`badge_number`](#function-badge_number)
- [`badge_glyph`](#function-badge_glyph)
- [`badge_image_source`](#function-badge_image_source)
- [`badge_text`](#function-badge_text)
- [`is_group`](#function-is_group)
- [`contact`](#function-contact)
- [`display_name`](#function-display_name)
- [`initials`](#function-initials)
- [`prefer_small_image`](#function-prefer_small_image)
- [`profile_picture`](#function-profile_picture)
- [`template_settings`](#function-template_settings)

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

### badge_number

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

Sets `PersonPicture::badge_number_property`.

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

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

### badge_glyph

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

Sets `PersonPicture::badge_glyph_property`.

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

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

### badge_image_source

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

Sets `PersonPicture::badge_image_source_property`.

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

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

### badge_text

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

Sets `PersonPicture::badge_text_property`.

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

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

### is_group

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

Sets `PersonPicture::is_group_property`.

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

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

### contact

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

Sets `PersonPicture::contact_property`.

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

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

### display_name

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

Sets `PersonPicture::display_name_property`.

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

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

### initials

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

Sets `PersonPicture::initials_property`.

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

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

### prefer_small_image

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

Sets `PersonPicture::prefer_small_image_property`.

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

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

### profile_picture

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

Sets `PersonPicture::profile_picture_property`.

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

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

### template_settings

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

Sets `PersonPicture::template_settings_property`.

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

## Trait implementations

- [`PersonPictureProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-personpictureprops/)

## Availability

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