Sharing DataContext Between Document Windows Problem

Docking/MDI for WPF Forum

Posted 5 years ago by Randall Gouge
Version: 14.1.0601
Avatar

I'm attempting to share the datacontext between two views which are document windows in a tabbedMDI.  One is docked and displays a list of items, among other things, and the other (new document window) is displayed when an item in the list is double clicked.  If I try opening this new document window as floating and call activate it does not display ... if I do not set it as floating it is docked as expected and visible.

If I supply a completely different datacontext for the new document window and open it as floating it works as expected.

I tried adding a reference to the first datacontext to the context of the new document window but once again the I tried opening the window as floating it does not display.

Am I missing something?

Comments (1)

Posted 5 years ago by Randall Gouge
Avatar

Found the problem ... the underlying viewmodel was throwing an exception that was unhandled.  You can delete this thread.

Thx

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.