I would like to be able to Load (and Save) a diagram by initiating the operation in the ViewModel.
Currently, I need to inherit from RadDiagram and override the OnOpenCommandExecuted method to have custom Load behaviour. This is fine, except that I would like to Clear the diagram before Loading the saved XML. I can't use the RadDiagram.Clear() method when using GraphSource, however.
Short of implementing my own Serialize/Deserialize in ViewModels, is there a nice way to achieve this currently?
Thanks
Currently, I need to inherit from RadDiagram and override the OnOpenCommandExecuted method to have custom Load behaviour. This is fine, except that I would like to Clear the diagram before Loading the saved XML. I can't use the RadDiagram.Clear() method when using GraphSource, however.
Short of implementing my own Serialize/Deserialize in ViewModels, is there a nice way to achieve this currently?
Thanks