DocksSite ActiveWindow is null in v14.2

Docking/MDI for WPF Forum

Posted 5 years ago by Peter Cullen
Version: 14.2.0610
Platform: .NET 4.5
Environment: Windows 7 (64-bit)
Avatar

I just upgraded from v 14.1 to 14.2.610. I used to be able to query DockSite.ActiveWindow but now it's always null. Instead I have to query the DockSite.DocumentWindows collection e.g. DocumentWindows.FirstOrDefault(
docWin => docWin.ParentContainer as TabbedMdiContainer != null); Please advise.

[Modified 5 years ago]

Comments (2)

Posted 5 years ago by Peter Cullen
Avatar

It looks as if Actipro corrected the ActiveWindow state, and that it should be null when I'm activating a different window. I'm changing my code to query LastActiveDocument.

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello Peter,

There is a newer build since what you have.  Please try the latest to see if a related bug was already fixed.


Actipro Software Support

The latest build of this product (v2019.1 build 0684) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.