ToolWindowContatiner: SizeToContent?

Docking/MDI for WPF Forum

Posted 8 years ago by Brad Leach
Version: 11.1.0545
Avatar
Hi,

We are hosting a calendar control inside of a ToolWindow/ToolWindowContainer and would like the size of the container to match the height of the calendar control.

After reading through the documentation, I've found I can set the DockSite.ControlSize attached property to set the initial size. However, I don't want to hard-code the size of the control (as it is depends on the users machine). Is it possible to use a concept like the SizeToContent property on this control? Basically, I'd like the control container to auto-size until the user fiddles with the container size themselves.

Is this possible?

Cheers,
-Brad

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Brad,

Sorry, but we don't currently support SizeToContent type functionality. We have a TODO item marked down to see about adding this feature in the future. I've added this forum post to that TODO item, so you will be notified when it is completed.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) 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.