Set MinWidth/MaxWidth for floating window

Docking/MDI for WPF Forum

Posted 2 months ago by Yuki
Version: 22.1.1
Avatar

Hello,

Is there any way to set MinWidth and MaxWidth for floating window?

Also I want to set MinHeight/MaxHeight.

Comments (11)

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

If you set the DockingWindow.ContainerMinSize property, the Window that hosts a floating dock host will try to respect that minimum size.  Maximum sizes cannot be handled by the floating dock host though.


Actipro Software Support

Posted 2 months ago by Yuki
Avatar

Thank you for replying.

I set the DockingWindow.ContainerMinSize property and it worked fine.

In addition, is it possible to restrict minimum size of floating document window? (Container include single document item)

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

ContainerMinSize will restrict the size of a floating tool window.  However floating document windows don't currently influence the minimum size of their containing floating Window.  We will try and improve that for the next maintenance release.


Actipro Software Support

Posted 2 months ago by Yuki
Avatar

Thank you for replying.

I will wait for next maintenance release.

If possible, would you please tell me when it will release?

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

It should be any day now.


Actipro Software Support

The latest build of this product (v22.1.1) was released 2 months ago, which was before the next post in this thread.
Posted 24 days ago by Yuki
Avatar

Hello,

Thank you for your support everytime.

However floating document windows don't currently influence the minimum size of their containing floating Window.  We will try and improve that for the next maintenance release.

Can I check its progress?

If preview build is ready, would you please send me it?

Posted 24 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

The related change was released in v22.1.1 that has been out since mid-March.


Actipro Software Support

Posted 17 days ago by Yuki
Avatar

Hello,

Thank you for improvement of ContainerMinSize.

I checked the following pattern.

1) Floating 1 document window

  --> works fine

2) Floating 2 document windows as tabbed

  --> works fine

3) Floating 2 document windows as horizontal display

  --> works fine when drag vertical splitter

  --> not work when drag floating window frame. (I could resize window smaller than ContainerMinSize)

Would you please check pattern-3?

Posted 17 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

We've made some additional updates that should help with the more complex number 3.  These will be in the next maintenance release.


Actipro Software Support

Posted 17 days ago by Yuki
Avatar

Thank you for replying.

I have 22.1.2-beta.4. 

Is the updates included in 22.1.2-beta.4?

Posted 16 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

No, the updates were made yesterday and no preview build has been created that contain them yet.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.