# ICursorProvider

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-interactions-custom/trait-icursorprovider/

**trait** · [`ferroui-xaml-interactions-custom`](/docs/0.5.0/api/ferroui-xaml-interactions-custom/) · v0.5.0

```rust
trait ICursorProvider
```

Provides a custom cursor instance.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/cursor/contract/i_cursor_provider.rs#L7)

## Members

- [`create_cursor`](#function-create_cursor)

<a id="function-create_cursor"></a>

### create_cursor

```rust
fn create_cursor(self: &Self) -> Rc<Cursor>
```

Creates a cursor instance.

Returns the created `Cursor`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/cursor/contract/i_cursor_provider.rs#L11)

## Availability

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