Is it possible to load XAML runtime in Avalonia 11.x #17062
-
Receive XML content dynamically at runtime (e.g., through a SignalR hub) and need to create controls on the fly (Bind the dynamically created controls to the UI). |
Beta Was this translation helpful? Give feedback.
Answered by
thevortexcloud
Sep 19, 2024
Replies: 1 comment 1 reply
-
There is a runtime XAML loader if that's what you want? It will convert what ever XAML you pass into it into a .NET object. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
IftikharK
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a runtime XAML loader if that's what you want? It will convert what ever XAML you pass into it into a .NET object.
Avalonia/src/Markup/Avalonia.Markup.Xaml.Loader/AvaloniaRuntimeXamlLoader.cs
Lines 15 to 25 in 85fff4a