Summary
Loads XAML from a string.
Syntax
public static object Load(string xaml, Assembly localAssembly = null, object rootInstance = null, Uri uri = null, bool designMode = false)
Parameters
Name |
Type |
Description |
xaml |
string |
The string containing the XAML. |
localAssembly |
Assembly |
Default assembly for clr-namespace:. |
rootInstance |
object |
The optional instance into which the XAML should be loaded. |
uri |
Uri |
The URI of the XAML being loaded. |
designMode |
bool |
Indicates whether the XAML is being loaded in design mode. |
Return Value
Type |
Description |
object |
The loaded object. |