ToolWindow auto reszing

Docking/MDI for WPF Forum

Posted 7 years ago by Chris Misson - Greenspan
Version: 12.1.0562
Avatar

Hi,

 

I have a floating tool window (will always be floating).  I do something like this:

c.Float(ActiproSoftware.Windows.Controls.Docking.FloatSizingBehavior.SizeToContent);

 

My problem is I have an expander within the content of the ToolWindow and it does not resize to the size of the content when the expander changes (expands/contracts).

Is there a way to resize the ToolWindow when the expander changes?

 

A normal WPF Window can handle this scenario. Is there anything I can do?

Comments (1)

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

Hi Chris,

Sorry but our windows won't resize automatically as content changes.  You'd probably need to call that method again after the expansion change, and I believe that will update the size.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.