Page 1 of 1

Serialization of Noesis Object tree to XAML

Posted: 26 Nov 2025, 09:25
by bkunikowski
Hey,
I want to ask you if there is any way to serialize Noesis object tree that is loaded to application memory back to XAML?
I'm asking because I want to made some runtime changes to some objects using Noesis API and and then save it back to XAML if possible.
Any help will be appreciated :)

Re: Serialization of Noesis Object tree to XAML

Posted: 26 Nov 2025, 16:37
by jsantos
Hello! NoesisGUI does not provide a built-in “save runtime tree back to XAML” API. If you need XAML output you must implement it yourself by walking the object tree and using the dependency-property / reflection APIs to extract type names, values and children, then write the corresponding XAML.

Re: Serialization of Noesis Object tree to XAML

Posted: 26 Nov 2025, 17:18
by bkunikowski
That is something I was afraid of.

Anyway, thank you very much for that information.