It seems like it is not crowded here, is it? :-)
I need to write some application, which can change its own forms on the fly ( like MS Access ? ).
So Iooked for ability to switch into the designer mode and back inside one application.
For Windows Forms I found the good example, DesignerHost.
"INFO: Code Sample That Demonstrates How to Create a Custom Form Designer by Using Visual C# .NET" ( KB813808 )
Looks great. It even can save all that staff in form of XML ( but not XAML ).
Now I want to do it with WPF ( Avalon? ).
Because the XAML looks like the most natural format for this task.
So, where is the sample? I did not find it yet.
How can I host the designer mode for WPF?
Aleksey.
I need a similar thing for my application. I don't see you get any answer
here. Have you found answer somewhere else? If you do please let me know.
Since I could not find a Custom designer I am doing the following:
I creat a UserControl whith Canvas as its content. It lets uses add
controls, include lots of Labels, TextBox, Charts, into this UserControl.
After user is done with it I want to save this user control as XAML or BAML
file. So later user can load his file, and edit it. I could not fine the way
to save a usercontrol as a xaml or baml file :(.
Haiping