Summary
Loads XAML from a URI.
- Namespace
- Avalonia
.Markup .Xaml - Containing Type
- AvaloniaXamlLoader
Syntax
public static object Load(Uri uri, Uri baseUri = null)
Parameters
Name | Type | Description |
---|---|---|
uri | Uri | The URI of the XAML file. |
baseUri | Uri | A base URI to use if uri is relative. |
Return Value
Type | Description |
---|---|
object | The loaded object. |