I am going to have all XAML in database. I wonder to know how to implement functionality to read xaml from DB. Do I have to make a Parser which can distinguish all controls (buttons, text boxes, etc. ) or apply any other solution? The Parser will be hard to code because xaml will be read as strings so there would be many many operations on it(substring, index of, etc). My question is: is there a better solution for this problem?
thanks a lot for link you posted. But unfortunatelly my problem is not solved... What I wnat to do now? I have a file for example wit canvas definition and button in this canvas. I want to put "Click" attribute into Button definition and load it by XamlReader (using .net 4.0), but I am still getting an error "failed to create 'Click' from the text 'method_name'". How can I use advices from your blog?
Bookmarks