Maximizing a Rafting Window

Docking/MDI for WPF Forum

Posted 14 years ago by Steven Lynch
I am using a tabbed mdi interface and want to save the layout of rafted windows. I have figured out how to do that but I can't figure out how to tell if the rafted window has been maximized. Also, when I recreate the window, I know how to raft it using the settings in the deserializaed layout but again, I can't figure out how to maximize it in code.

It looks like it should be something simple to do but I can't find any property such as WIndowState anywhere for tabbed mdi rafted windows.

Any help would be appreciated.

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Steven,

The rafting windows are hosted in instances of RaftingWindow, which derives from Window. You would need to get the parent Window, then get/set it's WindowState property. Window has a GetWindow method that will give the hosting window of any element, which you can use.

Actipro Software Support

Posted 14 years ago by Steven Lynch
Thanks, that did it.

It was such an obvious thing to do that I knew there had to be a way.
The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.