# control_type

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

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

```rust
fn control_type<T: ObjectType>() -> std::any::TypeId
```

The handle type of class `T` as the binder sees a control: what `TypeId` the command binding of
a control of class `T` passes (`ICreatesCommandBinding::get_affinity_for_object`).

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

## Availability

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