Hello there,
I`ll first explain my requirement.
I have a CustomControl deriving from RadDiagramShapeBase that act as a symbol .Now i am adding customcontrol to a radDiagram.
On double clicking the customcontrol a new window popups that contains various textboxes that defines the symbol for eg: if symbol is a person,then the mainwindow consist of attributes eg name,ssn,address etc.
the mainwindow follows mvvm its has its respective viewmodel and model.
Now my problem:
I am serializing the application state as two files,First the diagram (view level): I am serializing the radDiagram that consist of customcontrol (symbol) as a string. ( model level): I am serializing mainview`s model as binary serialization as a seperate file.
Now this becomes a very difficult for me manage two file because i have to zip it into single file then unzip it and this process is not safe.
(Also i have to depend on 3rd party unzip tools!!!!)
My Requirement
SO is there any way so that i can serialize my attribute in the customcontrol (symbol) itself along with the radDiagram as a single file i.e along with the diagram.
Or
Can You provide me any idea to achieve my result!!!!!
Thanks and Regards,
Abhinav
I`ll first explain my requirement.
I have a CustomControl deriving from RadDiagramShapeBase that act as a symbol .Now i am adding customcontrol to a radDiagram.
On double clicking the customcontrol a new window popups that contains various textboxes that defines the symbol for eg: if symbol is a person,then the mainwindow consist of attributes eg name,ssn,address etc.
the mainwindow follows mvvm its has its respective viewmodel and model.
Now my problem:
I am serializing the application state as two files,First the diagram (view level): I am serializing the radDiagram that consist of customcontrol (symbol) as a string. ( model level): I am serializing mainview`s model as binary serialization as a seperate file.
Now this becomes a very difficult for me manage two file because i have to zip it into single file then unzip it and this process is not safe.
(Also i have to depend on 3rd party unzip tools!!!!)
My Requirement
SO is there any way so that i can serialize my attribute in the customcontrol (symbol) itself along with the radDiagram as a single file i.e along with the diagram.
Or
Can You provide me any idea to achieve my result!!!!!
Thanks and Regards,
Abhinav