private void RadDiagram1_PreviewAdditionalContentActivated(object sender, Telerik.WinControls.UI.Diagrams.AdditionalContentActivatedEventArgs e)
        {
            var index = ((RadDiagramElement)sender).SelectedIndex;

            var shapeSettingsPage = ((WorkflowCaptureDiagramShape)radDiagram1.Items[index]).BuildRadPageViewPage();
            var shapeCommentsPage = ((WorkflowCaptureDiagramShape)radDiagram1.Items[index]).RadPageViewCommentsPage();

            radDiagram1.DiagramElement.SettingsPane.RadPageView.Pages.Clear();
            radDiagram1.DiagramElement.SettingsPane.RadPageView.Pages.Add(shapeSettingsPage);
            radDiagram1.DiagramElement.SettingsPane.RadPageView.Pages.Add(shapeCommentsPage);
        }
 private void RadDiagram1_AdditionalContentActivated(object sender, Telerik.WinControls.UI.Diagrams.AdditionalContentActivatedEventArgs e)
 {
     RadMessageBox.SetThemeName("office2013LightTheme1");
     RadMessageBox.Show("Workflow export successful", "Export Workflow");
     //MessageBox.Show("AdditionalContentActivated event triggered");
 }