giving a fix size to the tool window

Docking/MDI for WPF Forum

Posted 12 years ago by maddy
Version: 12.2.0570

Hi ActiPro Team,


I want to provide a fix size to the tool window. Means what I did is as given below:-

Window window = Window.GetWindow(toolWindow);
window.Height = 60;
window.Width = 850;
window.MinHeight = 60;
window.MinWidth = 850;
window.MaxHeight = 60;
window.MaxWidth = 910;
canExecuteGrip = false;

Now as you can see MinHeight and MinWidth has been applied on the window, but MaxHeight and MaxWidth is not being applied.

Please suggest how to proceed for the same?

Comments (1)

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

Hi Maddy,

I'm sorry but our product doesn't support minimum and maximum sizes for tool windows.  Your code above would just be getting whatever WPF Window contains the tool window and trying to set its properties.  But that will proabably cause issues with our product, especially if the end user tries to dock another tool window into the same rafted tool window.

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.