# IXamlTypeResolver

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-markup-xaml/trait-ixamltyperesolver/

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

```rust
trait IXamlTypeResolver
```

Resolves type names qualified with a namespace prefix of the document
(`local:MyControl`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml/xaml_types.rs#L43)

## Members

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

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

### resolve

```rust
fn resolve(self: &Self, qualified_type_name: &str) -> Result<CastTarget, XamlLoadError>
```

Resolves `qualified_type_name` (`prefix:Name` or `Name`) to a type: a
class of the object model or a value type.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml/xaml_types.rs#L46)

## Availability

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