Update DocumentWindow title?

Docking/MDI for WPF Forum

Posted 10 years ago by Doug Beck
Version: 13.2.0592
Platform: .NET 4.5
Environment: Windows 8 (64-bit)

I have an alternative method where users type in a new name for a DocumentWindow. However, the title of the document doesn't seem to update when I simply set the new value of the Title. How do I get this change to happen?

Comments (2)

Answer - Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Doug,

I just tested this and it's working fine for me.  In the main demo's MainControl.OnNewExecuted method, I added this code and commented out the last existing line:

control.dockSite.ActiveWindow.Title = DateTime.Now.ToString();

When I click the File/New menu item, the document title updates appropriately.

Actipro Software Support

Posted 10 years ago by Doug Beck

Aha! It looks like we are using our own custom header which is why changing the title did not update the text. Thanks for your help.

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.