We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Re open close window in dockingManager

Thread ID:





132621 Sep 12,2017 02:08 PM UTC Sep 18,2017 05:58 AM UTC WPF 3
Tags: DockingManager
Asked On September 12, 2017 02:08 PM UTC

Good Day!

Please let me some help, how do I open a closed window in a dockingmanager from the ViewModel?. Thanks

Durga Rajan [Syncfusion]
Replied On September 13, 2017 10:48 AM UTC

Hi Andres, 

Thanks for contacting Syncfusion support. 

We have checked your query and prepared a sample to meet your requirement. The state of the docking child will be changed as Hidden while closing the window (child of DockingManager). We can store the reference of the Closed window in our ViewModel and restore them whenever needed.  In this sample, we have stored the closed windows reference in MenuItemViewModel, and provided a menu options to open the recently used tab and we displayed the recently closed tabs under "Recent Files.." menuitem. Also the closed windows can be restored using RestoreElement() method of DockingManager based on the state of the Child element while clicking the item from menu. And, we have prepared a sample for the same, please download the sample from below location.   

If we misunderstood your query please provide more details and sample about your requirement. 

Durga S. 

Replied On September 15, 2017 10:14 PM UTC

Thanks, problem resolved.

Durga Rajan [Syncfusion]
Replied On September 18, 2017 05:58 AM UTC

Hi Andres,  

We are glad to know that your issue has been solved. Please let us know if you need any further assistance. 

Durga S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon