I try to save (serialize) a XAML document. The background is that the user of the application should be able to change the XAML document dynamically.
This works fine with some basic controls but as soon as I have a datagrid inside the XAML, non of this works:
Cannot serialize a generic type 'System.Collections.ObjectModel.ObservableCollection`1[Microsoft.Windows.Controls.DataGridColumn]'.
Constructor on type 'System.ComponentModel.ComponentConverter' not found.
I already found in forum that XAML does not fully support generics, however, is there a solution for this? I'm a bit confused because if XAML can be read dynamically it should also be possible to save it...
I use .NET Framework 4.
Thanks for reply... any suggestion is very welcome.
View Complete Post