How to programmatically maximize a floating document window

Docking/MDI for WPF Forum

Posted 10 years ago by Jim Carole
Version: 14.2.0611
Avatar

The third line isn't valid...how can I peform the desired action?

DocumentWindow dc= dockSite.DocumentWindows.First(dw => dw.Name == "MyTab");
dc.Float();
dc.Maximize();

Comments (2)

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

Hi Jim,

Perhaps you could do Window.GetWindow(dc) to get the Window and then set its WindowState.


Actipro Software Support

Posted 10 years ago by Jim Carole
Avatar

That works great...thanks!

The latest build of this product (v24.1.3) 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.