AvaloniaRuntimeXamlLoader.

Parse<T>(string, Assembly) Method

Summary

Parse XAML from a string.

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.