# register_scroll_anchor_provider

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

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

```rust
fn register_scroll_anchor_provider<T: ObjectType + IScrollAnchorProvider>()
```

Declares that class `T` (and the classes derived from it) implements
[`IScrollAnchorProvider`](/docs/0.5.0/api/ferroui-controls/trait-iscrollanchorprovider/).

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

## Availability

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