How to set width or height for a new tool window

Grids for WPF Forum

Posted 8 years ago by hzhiwei
Version: 11.1.0542
Avatar
Hello,
I want to know when I activate a tool window dock to another one,how can I set width or height for the new window?

BEST Regards .

Comments (1)

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

Is this question about the PropertyGrid or our Docking & MDI for WPF? Assuming you are talking about the latter, then you can only set the initial size using DockSite.SetControlSize. In XAML you'd set the docking:DockSite.ControlSize attached property. When docking one ToolWindow to another interactively, you cannot change the size (as the source TW will assume the size of the target TW).


Actipro Software Support

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