# as_content_presenter_host

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/presenters/function-as_content_presenter_host/

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

```rust
fn as_content_presenter_host(object: &ferroui_base::FerroObject) -> Option<&dyn IContentPresenterHost>
```

The object viewed as a content presenter host, if its class implements
[`IContentPresenterHost`](/docs/0.5.0/api/ferroui-controls/presenters/trait-icontentpresenterhost/).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/presenters/i_content_presenter_host.rs#L51)

## Availability

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