Summary
Parse XAML from a string.
- Namespace
- Avalonia
.Markup .Xaml - Containing Type
- Avalonia
Runtime Xaml Loader
Syntax
public static T Parse<T>(string xaml, Assembly localAssembly = null)
Type Parameters
Name | Description |
---|---|
T | The type of the returned object. |
Parameters
Name | Type | Description |
---|---|---|
xaml | string | >The string containing the XAML. |
localAssembly | Assembly | >Default assembly for clr-namespace:. |
Return Value
Type | Description |
---|---|
T | The loaded object. |