Visible windows

Docking/MDI for WPF Forum

Posted 15 years ago by Jeremy ALLES - Grenoble, France
Version: 4.5.0471
Avatar
Hi,

I would like to know how can I retrieve a list of all DocumentWindow that are currently visible in a DockSite. By Visible, I mean displayed on the screen and not necessarly activated.

Thanks,
Jeremy

Comments (2)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Jeremy,

The DockSite.Documents property will give you a list of all currently-open documents.

If you are in standard MDI, all are visible (although some may be minimized). You can use StandardMdiHost.GetStandardMdiWindowState and pass it a window to see its current state.

If you are in tabbed MDI, the currently selected window in any container should have DockingWindow.IsSelected as true.


Actipro Software Support

Posted 15 years ago by Jeremy ALLES - Grenoble, France
Avatar
Perfect, I just tried and it worked fine.

Thank you :)
The latest build of this product (v24.1.1) 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.