Issues with Document window

Docking/MDI for WPF Forum

Posted 15 years ago by Anurodh Ora
Version: 4.5.0486

I am creating Document window programmatically and displaying it in Standard MDI.


Document window lose the focus on Maximizing or restoring it.


Document window always opening in restore mode even after setting the property


The Tool window size does not remain same on reopen. For example, say I have 2 tool windows(1 of them is fixed size) in a document window and I am closing and Opening tool windows on the button click. Now when I want open Both tool window simultaneously then the Fixed size tool window do not take size which i have assign at design time. Both share the equal width.

I am also sending a sample project which demonsrtate the above issues.

please look into these issues.



Comments (1)

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

1) This is only happening in your sample because you don't have any focusable controls in your MDI window. If you replace the TextBlocks with TextBoxes, focus stays with the MDI window.

2) This is fixed for the next maintenance release.

3) It's working fine with the code here. I think the problem is that you are calling too many methods unncessarily and it corrupts the stored layout info. Change you RibbonWindow1 code to this instead:
private void check1_Click(object sender, RoutedEventArgs e)

private void check2_Click(object sender, RoutedEventArgs e)

private void check3_Click(object sender, RoutedEventArgs e)

Actipro Software Support

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.