Index: Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs =================================================================== diff -u -rd71f4a1961b4459334432339650e570868db10d0 -r657a26806c182f66f35f045b6714f37586936d92 --- Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs (.../AvalonDockViewHost.xaml.cs) (revision d71f4a1961b4459334432339650e570868db10d0) +++ Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs (.../AvalonDockViewHost.xaml.cs) (revision 657a26806c182f66f35f045b6714f37586936d92) @@ -227,6 +227,15 @@ OnViewBroughtToFront(view); } + public void SetTitle(IView view, string title) + { + var layoutContent = GetLayoutContent(view); + if (layoutContent != null) + { + layoutContent.Title = title; + } + } + public void SetImage(IView view, Image image) { var layoutContent = GetLayoutContent(view); @@ -386,7 +395,7 @@ view.Dispose(); OnViewClosed(view); - + Application.DoEvents(); // This method is called in order to get rid of problems caused by AvalonDock's latency } Index: Core/Gui/src/Core.Gui/Forms/ViewHost/IViewHost.cs =================================================================== diff -u -rd71f4a1961b4459334432339650e570868db10d0 -r657a26806c182f66f35f045b6714f37586936d92 --- Core/Gui/src/Core.Gui/Forms/ViewHost/IViewHost.cs (.../IViewHost.cs) (revision d71f4a1961b4459334432339650e570868db10d0) +++ Core/Gui/src/Core.Gui/Forms/ViewHost/IViewHost.cs (.../IViewHost.cs) (revision 657a26806c182f66f35f045b6714f37586936d92) @@ -106,6 +106,13 @@ void BringToFront(IView view); /// + /// Sets the title for a document view or tool view. + /// + /// The view to set the title for. + /// The title. + void SetTitle(IView view, string title); + + /// /// Sets the image for a document view or tool view. /// /// The view to set the image for.