# register_view_control

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui-controls/function-register_view_control/

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

```rust
fn register_view_control<T: IViewControl>()
```

Registers the adapter type `T` on this thread, so that [`view_control`](/docs/0.5.0/api/ferroui-reactiveui-controls/function-view_control/) finds the control of
its views. Idempotent; the adapters of this crate register themselves when they are created.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI.Controls/view_control.rs#L42)

## Availability

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