# load_xaml_uri

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/xaml/function-load_xaml_uri/

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

```rust
fn load_xaml_uri(uri: &str) -> Result<ferroui_base::Ref<ferroui_controls::Control>, ferroui_markup_xaml::XamlLoadError>
```

Loads the XAML document at `uri` (`ferres://<assembly>/<path>`): its
compiled markup when the assembly has it, the run-time loader
otherwise.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/xaml.rs#L45)

## Availability

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