private void MainWindow_Unloaded(object sender, RoutedEventArgs e) { var serializer = new XmlLayoutSerializer(dockManager); serializer.Serialize(@".\AvalonDock.config"); }
private void OnSaveLayout(object parameter) { var layoutSerializer = new XmlLayoutSerializer(dockManager); layoutSerializer.Serialize(@".\AvalonDock.Layout.config"); }