Load(RuntimeXamlLoaderDocument, RuntimeXamlLoaderConfiguration) Method
Loads XAML from a stream.
Definition
Namespace: Avalonia.Markup.Xaml
Assembly: Avalonia.Markup.Xaml.Loader (in Avalonia.Markup.Xaml.Loader.dll)
- C#
- VB
- F#
public static Object Load(
RuntimeXamlLoaderDocument document,
RuntimeXamlLoaderConfiguration? configuration = null
)
Public Shared Function Load (
document As RuntimeXamlLoaderDocument,
Optional configuration As RuntimeXamlLoaderConfiguration = Nothing
) As Object
static member Load :
document : RuntimeXamlLoaderDocument *
?configuration : RuntimeXamlLoaderConfiguration
(* Defaults:
let _configuration = defaultArg configuration null
*)
-> Object
Parameters
- RuntimeXamlLoaderDocument
- The stream containing the XAML.
- RuntimeXamlLoaderConfiguration (Optional)
- Xaml loader configuration.
Return Value
Object
The loaded object.
See Also
Reference
AvaloniaRuntimeXamlLoader Class
Load Overload
Avalonia.Markup.Xaml Namespace