# register_types

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-behaviors/function-register_types/

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

```rust
fn register_types()
```

Registers the types of every enabled behavior crate for markup (and of the crates they are built
on). Cheap and idempotent; call it before loading or compiling documents that use behaviors.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Behaviors/lib.rs#L44)

## Availability

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