hello,when I load diagram use code like this:
StreamReader streamReader = new StreamReader(diagramXmlFile);
string data = streamReader.ReadToEnd();
streamReader.Close();
this.ProjectImageDiagram.Load(data);
RadDocumentPane diagramPane = new RadDocumentPane();
DataTemplate doctabTemplate = (DataTemplate)CRWindow.TryFindResource("doctab");
StackPanel docTab = (StackPanel)doctabTemplate.LoadContent();
diagramPane.Header = docTab;
UserControl diagramUserControl = new UserControl(diagram, true);
diagramPane.Content = diagramUserControl;
And I add diagramPane to RadDocking-DocumentHost-RadSplitContainer-RadPaneGroup, but when I run the program and open this pane, I find that the diagram is zoom in first, and then zoom out to fit the window,why? Hope to answer, Thanks !